Grid.jl icon indicating copy to clipboard operation
Grid.jl copied to clipboard

Missing methods for LinSpace Range type

Open lstagner opened this issue 9 years ago • 1 comments

After upgrading to v0.4 I get the following error.

LoadError: MethodError: `coordlookup` has no method matching coordlookup(::LinSpace{Float64}, ::Float64)
Closest candidates are:
  coordlookup(!Matched::FloatRange{T<:AbstractFloat}, ::Real)
  coordlookup(!Matched::StepRange{T,S}, ::Real)
  coordlookup(!Matched::UnitRange{T<:Real}, ::Real)
while loading In[13], in expression starting on line 3

lstagner avatar Oct 21 '15 00:10 lstagner

@lstagner Grid.jl is not (very) actively maintained for 0.4 - instead, look to Interpolations.jl. There is not complete feature-parity yet, but the last bits are actively being worked on, and for the functionality that already exists (i.e. everything except cubic interpolation and hessian evaluation) Interpolations.jl is significantly faster.

tomasaschan avatar Oct 21 '15 06:10 tomasaschan