From f0347905531335dfa539b29ad378d6de007f8ffd Mon Sep 17 00:00:00 2001 From: Niklas Neher <73897120+LasNikas@users.noreply.github.com> Date: Fri, 15 Mar 2024 12:05:34 +0100 Subject: [PATCH] fix bug (#465) --- src/callbacks/callbacks.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/callbacks/callbacks.jl b/src/callbacks/callbacks.jl index 7cc580038..08b28187a 100644 --- a/src/callbacks/callbacks.jl +++ b/src/callbacks/callbacks.jl @@ -14,7 +14,7 @@ end integrator.iter == integrator.opts.maxiters end -@inline function condition_integrator_interval(integrator, interval, +@inline function condition_integrator_interval(integrator, interval; save_final_solution=true) # With error-based step size control, some steps can be rejected. Thus, # `integrator.iter >= integrator.stats.naccept`