From e840b9928577c0ef5a3d3b73e7a1e79283cbee0d Mon Sep 17 00:00:00 2001 From: Christian Schilling Date: Thu, 11 Apr 2024 00:05:37 +0200 Subject: [PATCH] fix typos (#168) --- src/validatedODEs.jl | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/validatedODEs.jl b/src/validatedODEs.jl index 287e7a3..f219bb7 100644 --- a/src/validatedODEs.jl +++ b/src/validatedODEs.jl @@ -664,11 +664,11 @@ function _validated_integ!(f!, t0::T, tmax::T, orderT::Int, red_abstol = min(abstol, 10*red_abstol) end - # If the integration step is unsuccessfull, break with a warning; note that the - # last integration step (which was not successfull) is returned + # If the integration step is unsuccessful, break with a warning; note that the + # last integration step (which was not successful) is returned if !_success @warn(""" - Exiting due to unsuccessfull step + Exiting due to unsuccessful step """, _success, t0) break end @@ -757,11 +757,11 @@ function _validated_integ!(f!, t0::T, tmax::T, orderT::Int, red_abstol = min(abstol, 10*red_abstol) end - # If the integration step is unsuccessfull, break with a warning; note that the - # last integration step (which was not successfull) is returned + # If the integration step is unsuccessful, break with a warning; note that the + # last integration step (which was not successful) is returned if !_success @warn(""" - Exiting due to unsuccessfull step + Exiting due to unsuccessful step """, _success, t0) break end @@ -1082,11 +1082,11 @@ function _validated_integ2!(f!, t0::T, tf::T, orderT::Int, x, dx, rv, red_abstol = min(abstol, 10*red_abstol) end - # If the integration step is unsuccessfull, break with a warning; note that the - # last integration step (which was not successfull) is returned + # If the integration step is unsuccessful, break with a warning; note that the + # last integration step (which was not successful) is returned if !_success @warn(""" - Exiting due to unsuccessfull step + Exiting due to unsuccessful step """, _success, t0) break end @@ -1211,11 +1211,11 @@ function _validated_integ2!(f!, t0::T, tf::T, orderT::Int, x, dx, red_abstol = min(abstol, 10*red_abstol) end - # If the integration step is unsuccessfull, break with a warning; note that the - # last integration step (which was not successfull) is returned + # If the integration step is unsuccessful, break with a warning; note that the + # last integration step (which was not successful) is returned if !_success @warn(""" - Exiting due to unsuccessfull step + Exiting due to unsuccessful step """, _success, t0) break end