We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b033cd4 commit 1868dacCopy full SHA for 1868dac
1 file changed
tests/utils.py
@@ -128,6 +128,6 @@ def apply(self, **kwargs):
128
past_idx = (t-1) % np.shape(self.u)[0]
129
self.u[idx][:] = self.u[past_idx][:] + self.direction * 1
130
else:
131
- idx = t_end % np.shape(self.u)[0]
+ idx = (t_start) % np.shape(self.u)[0]
132
self.v[:] = (self.u[idx][:]*(-1) + 1)
133
self.counter += abs(t_end - t_start)
0 commit comments