timholy / Grid.jl

Interpolation and related operations on grids
MIT License
47 stars 26 forks source link

Missing methods for LinSpace Range type #64

Open lstagner opened 8 years ago

lstagner commented 8 years ago

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
tomasaschan commented 8 years ago

@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.