-
Notifications
You must be signed in to change notification settings - Fork 112
Open
Description
Interpolations.jl/src/gridded/gridded.jl
Line 74 in 4316c04
length(k1) == 1 && error("dimensions of length 1 not yet supported") # FIXME |
In this line of gridded.jl
, length(k1) == 1
is disabled. But when I just remove that line, I get expected behavior:
f = interpolate(([1.],), [5.], Gridded(Constant()))
@test bounds(f) == ((1., 1.),)
@test f(1.) == 5.0
@test_throws BoundsError f(nextfloat(1.))
@test_throws BoundsError f(prevfloat(1.))
Can we just remove that line? Or is there something not implemented?
ryofurue
Metadata
Metadata
Assignees
Labels
No labels