Skip to content

Commit

Permalink
Merge pull request #707 from oscardssmith/os/improve-divergance-error…
Browse files Browse the repository at this point in the history
…-message

improve Unstable error message
  • Loading branch information
ChrisRackauckas authored Jun 7, 2024
2 parents ff83ff0 + be524a7 commit 79c1b04
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 @@ -630,7 +630,7 @@ function check_error(integrator::DEIntegrator)
else
EEst = ""
end
@warn("dt($(integrator.dt)) <= eps(t)($(integrator.t)) $EEst. Aborting. There is either an error in your model specification or the true solution is unstable (or the true solution can not be represented in the precision of $(eltype(integrator.u))).")
@warn("At t=$(integrator.t), dt was forced below floating point epsilon $(integrator.dt)$EEst. Aborting. There is either an error in your model specification or the true solution is unstable (or the true solution can not be represented in the precision of $(eltype(integrator.u))).")
end
return ReturnCode.Unstable
end
Expand Down

0 comments on commit 79c1b04

Please sign in to comment.