Skip to content

Commit 988a989

Browse files
Upgrade path for check_error interface conformity
1 parent 25073a5 commit 988a989

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/integrator_interface.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ function check_error(integrator::DEIntegrator)
632632
end
633633
return ReturnCode.Unstable
634634
end
635-
if last_step_failed(integrator)
635+
if last_step_failed(integrator) && !isadaptive(integrator)
636636
if verbose
637637
@warn("Newton steps could not converge and algorithm is not adaptive. Use a lower dt.")
638638
end

0 commit comments

Comments
 (0)