Aside from the question: there are several interpolation packages that you might be interested in. See: https://github.com/timholy/Grid.jl https://github.com/kbarbary/Dierckx.jl
On Sat, Nov 15, 2014 at 5:31 PM, <i.costi...@me.com> wrote: > I've got a parametric type: > > immutable SplineInterpolator{N<:Integer} <: Interpolator1D end > > NB: > > abstract Interpolator > abstract Interpolator1D <: Interpolator > > Now, when I try to create the concrete type... > > SplineInterpolator{3} > > ...I get the following error message: > > ERROR: type: SplineInterpolator: in N, expected N<:Integer, got Int64 > > NB that typeof(3) <: Integer returns true > > Why am I get this error message? Using Julia 0.3.2 on OS X 10.10 > > Thanks >