Skip to content

Commit

Permalink
remove unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
oscardssmith committed May 22, 2024
1 parent bb3a749 commit 761a8c7
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 @@ -610,7 +610,7 @@ function check_error(integrator::DEIntegrator)
step_accepted = !hasproperty(integrator, :accept_step) || integrator.accept_step
if !opts.force_dtmin && opts.adaptive
if abs(integrator.dt) <= abs(opts.dtmin) &&
(!step_accepted || ((hasproperty(integrator, :opts) && hasproperty(opts, :tstops)) ?
(!step_accepted || (hasproperty(opts, :tstops) ?
integrator.t + integrator.dt < integrator.tdir * first(opts.tstops) :
true))
if verbose
Expand Down

0 comments on commit 761a8c7

Please sign in to comment.