Skip to content

Commit 2a96682

Browse files
Update callbacks.jl
1 parent 2926255 commit 2a96682

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/callbacks.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ function apply_discrete_callback!(integrator::SDEIntegrator,callback::DiscreteCa
176176
savevalues!(integrator,true)
177177
saved_in_cb = true
178178
end
179-
callback.affect!(integrator)
180179
integrator.u_modified = true
180+
callback.affect!(integrator)
181181
if callback.save_positions[2]
182182
savevalues!(integrator,true)
183183
saved_in_cb = true

0 commit comments

Comments
 (0)