Skip to content

Commit 8c09f21

Browse files
Update src/integrator_interface.jl
Co-authored-by: Christopher Rackauckas <accounts@chrisrackauckas.com>
1 parent ae46af6 commit 8c09f21

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
@@ -634,7 +634,7 @@ function check_error(integrator::DEIntegrator)
634634
return ReturnCode.Unstable
635635
end
636636
end
637-
bigtol = max(opts.reltol, opts.abstol)
637+
bigtol = max(max(opts.reltol), max(opts.abstol))
638638
if isdefined(integrator, :EEst) && integrator.EEst * bigtol < .1
639639
if opts.unstable_check(integrator.dt, integrator.u, integrator.p,
640640
integrator.t)

0 commit comments

Comments
 (0)