From 988a989667f2f887d9234f1290b552b283d83f02 Mon Sep 17 00:00:00 2001 From: termi-official <9196588+termi-official@users.noreply.github.com> Date: Mon, 23 Dec 2024 16:29:38 +0100 Subject: [PATCH] Upgrade path for check_error interface conformity --- src/integrator_interface.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/integrator_interface.jl b/src/integrator_interface.jl index f3a14bbea..b68865275 100644 --- a/src/integrator_interface.jl +++ b/src/integrator_interface.jl @@ -632,7 +632,7 @@ function check_error(integrator::DEIntegrator) end return ReturnCode.Unstable end - if last_step_failed(integrator) + if last_step_failed(integrator) && !isadaptive(integrator) if verbose @warn("Newton steps could not converge and algorithm is not adaptive. Use a lower dt.") end