Skip to content

Commit

Permalink
Upgrade path for check_error interface conformity
Browse files Browse the repository at this point in the history
  • Loading branch information
termi-official committed Dec 23, 2024
1 parent 25073a5 commit 988a989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/integrator_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 988a989

Please sign in to comment.