Skip to content

Commit e6db578

Browse files
committed
add less trivial test
1 parent f87217b commit e6db578

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/extrapolation/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ etp100g = extrapolate(interpolate(([10;20],),[100;110], Gridded(Linear())), Flat
8383

8484
# check all extrapolations work with vectorized indexing
8585
for E in [0,Flat(),Linear(),Periodic(),Reflect()]
86-
@test (@inferred(getindex(extrapolate(interpolate([0,0],BSpline(Linear()),OnGrid()),E),[3]))) == [0]
86+
@test (@inferred(getindex(extrapolate(interpolate([0,0],BSpline(Linear()),OnGrid()),E),[1.2, 1.8, 3.1]))) == [0,0,0]
8787
end
8888

8989
end

0 commit comments

Comments
 (0)