Skip to content

Commit 761a8c7

Browse files
committed
remove unnecessary check
1 parent bb3a749 commit 761a8c7

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
@@ -610,7 +610,7 @@ function check_error(integrator::DEIntegrator)
610610
step_accepted = !hasproperty(integrator, :accept_step) || integrator.accept_step
611611
if !opts.force_dtmin && opts.adaptive
612612
if abs(integrator.dt) <= abs(opts.dtmin) &&
613-
(!step_accepted || ((hasproperty(integrator, :opts) && hasproperty(opts, :tstops)) ?
613+
(!step_accepted || (hasproperty(opts, :tstops) ?
614614
integrator.t + integrator.dt < integrator.tdir * first(opts.tstops) :
615615
true))
616616
if verbose

0 commit comments

Comments
 (0)