Skip to content

Commit a8ee442

Browse files
committed
fix error in allclose call
1 parent a5efe74 commit a8ee442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

surfer/viz.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2169,7 +2169,7 @@ def save_movie(self, fname, time_dilation=4., tmin=None, tmax=None,
21692169

21702170
# find indexes at which to create frames
21712171
tstep = 1. / (framerate * time_dilation)
2172-
if np.allclose(((tmax - tmin) % tstep, 0)):
2172+
if np.allclose((tmax - tmin) % tstep, 0):
21732173
tstop = tmax + tstep / 2.
21742174
else:
21752175
tstop = tmax

0 commit comments

Comments
 (0)