Skip to content

Commit 004d95f

Browse files
fix step rejections
1 parent 0489d30 commit 004d95f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/integrators/interface.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
StochasticDiffEq.choose_algorithm!(integrator,integrator.cache)
1717
StochasticDiffEq.fix_dtnew_at_bounds!(integrator)
1818
StochasticDiffEq.modify_dtnew_for_tstops!(integrator)
19-
reject_step!(integrator.W,integrator.dtnew)
19+
reject_step!(integrator,integrator.dtnew)
2020
integrator.dt = integrator.dtnew
2121
integrator.sqdt = sqrt(abs(integrator.dt))
2222
end

0 commit comments

Comments
 (0)