From 76859cdd610997c3701bf5d7c387772a0eee08bf Mon Sep 17 00:00:00 2001 From: Bart de Koning Date: Thu, 14 Nov 2024 07:04:38 +0100 Subject: [PATCH] nit --- src/interpolation_methods.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interpolation_methods.jl b/src/interpolation_methods.jl index 8dbf0f75..9dc02b95 100644 --- a/src/interpolation_methods.jl +++ b/src/interpolation_methods.jl @@ -25,7 +25,7 @@ end function _extrapolate_up(A, t) (; extrapolation_up) = A if extrapolation_up == :none - throw(ExtrapolationError(DOWN_EXTRAPOLATION_ERROR)) + throw(ExtrapolationError(UP_EXTRAPOLATION_ERROR)) elseif extrapolation_up == :constant last(A.u) elseif extrapolation_up == :linear