Skip to content

Commit 3f2535b

Browse files
committed
Bugfix #1722
1 parent 5fff42c commit 3f2535b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parcels/particleset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@ def execute(
10601060
next_output = starttime + dt
10611061
else:
10621062
next_output = np.inf * np.sign(dt)
1063-
next_callback = starttime * np.sign(dt)
1063+
next_callback = starttime + callbackdt * np.sign(dt)
10641064

10651065
tol = 1e-12
10661066
time = starttime

0 commit comments

Comments
 (0)