Skip to content

Commit d296135

Browse files
authored
bugfix
1 parent 8c09f21 commit d296135

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(max(opts.reltol), max(opts.abstol))
637+
bigtol = max(maximum(opts.reltol), maximum(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)