diff --git a/src/finite.jl b/src/finite.jl index 5ea4efc..76c74e3 100644 --- a/src/finite.jl +++ b/src/finite.jl @@ -320,7 +320,7 @@ function solve( end if prob isa AbstractFiniteProblem - if u ≈ us[end] + if isapprox(u, us[end], atol = abstol * Δt) t = oftype(t, Inf) else t += Δt