Skip to content

Commit

Permalink
test: approx for an exterior point instead of exact equality test
Browse files Browse the repository at this point in the history
  • Loading branch information
sathvikbhagavan committed Jul 6, 2024
1 parent c17fc26 commit d5786ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/interpolation_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ end
t = [1.0, 2.0, 3.0]
A = LagrangeInterpolation(u, t; extrapolate = true)
@test A(0.0) == 0.0
@test A(4.0) == 16.0
@test A(4.0) 16.0
A = LagrangeInterpolation(u, t)
@test_throws DataInterpolations.ExtrapolationError A(-1.0)
@test_throws DataInterpolations.ExtrapolationError A(4.0)
Expand Down

0 comments on commit d5786ea

Please sign in to comment.