From be524a7e2b65bf71d632f40f69335203efb9e1f0 Mon Sep 17 00:00:00 2001 From: Oscar Smith Date: Fri, 7 Jun 2024 10:11:29 -0400 Subject: [PATCH] improve Unstable error message --- src/integrator_interface.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/integrator_interface.jl b/src/integrator_interface.jl index c995a87d5..eec89165b 100644 --- a/src/integrator_interface.jl +++ b/src/integrator_interface.jl @@ -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