From 50cea3201ff2795f17769679f827eb2e6a354edb Mon Sep 17 00:00:00 2001 From: Herman Sletmoen Date: Thu, 9 Jan 2025 11:07:48 +0100 Subject: [PATCH] Correct typo --- src/DataInterpolations.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DataInterpolations.jl b/src/DataInterpolations.jl index 22dc7345..992a17f3 100644 --- a/src/DataInterpolations.jl +++ b/src/DataInterpolations.jl @@ -70,7 +70,7 @@ function Base.showerror(io::IO, ::LeftExtrapolationError) print(io, LEFT_EXTRAPOLATION_ERROR) end -const RIGHT_EXTRAPOLATION_ERROR = "Cannot extrapolate for t > last(A.t) as the `extrapolation_tight` kwarg passed was `ExtrapolationType.None`" +const RIGHT_EXTRAPOLATION_ERROR = "Cannot extrapolate for t > last(A.t) as the `extrapolation_right` kwarg passed was `ExtrapolationType.None`" struct RightExtrapolationError <: Exception end function Base.showerror(io::IO, ::RightExtrapolationError) print(io, RIGHT_EXTRAPOLATION_ERROR)