We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The issue is that the buffer halo isn't initialized, so instead of zeros, garbage is read.
nt = 5 grid = Grid(shape=(4, 4)) u = TimeFunction(name='u', grid=grid, space_order=4, save=nt) u1 = TimeFunction(name='u', grid=grid, space_order=4, save=nt) eqn = Eq(u.forward, u.dx + 1) op0 = Operator(eqn, opt='noop') op1 = Operator(eqn, opt='buffering') op0.apply(time_M=nt-2) op1.apply(time_M=nt-2, u=u1) assert np.all(u.data == u1.data)
The text was updated successfully, but these errors were encountered:
FabioLuporini
Successfully merging a pull request may close this issue.
The issue is that the buffer halo isn't initialized, so instead of zeros, garbage is read.
The text was updated successfully, but these errors were encountered: