Skip to content

Commit

Permalink
Merge pull request #375 from hersle/master
Browse files Browse the repository at this point in the history
Correct typo
  • Loading branch information
ChrisRackauckas authored Jan 9, 2025
2 parents a25f349 + 50cea32 commit f37ff2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataInterpolations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f37ff2a

Please sign in to comment.