timholy / Grid.jl

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

error: CoordInterpGrid changed? #39

Closed mzalam closed 10 years ago

mzalam commented 10 years ago

I get the following error: no method CoordInterpGrid{T<:FloatingPoint,N,BC<:BoundaryCondition,IT<:InterpType,R}((Array{Float64,1},FloatRange{Float64}), Array{Float64,2}, Float64, Type{InterpLinear})

The code used to work fine until a month ago. I think you have changed the source since then. I have updated to the latest version. What am I doing wrong?

timholy commented 10 years ago

From the error message, I'd guess that the problem is that coord (the first argument) needs to be a tuple of two ranges, and you're using a Vector for one of them. You might have done something like ([0.1:0.1:10], 0.1:0.1:10). The latter one is fine, the first is problematic.

If this doesn't help you solve it, you'll need to show us what you were trying to do (i.e., copy in the commands you were executing).

timholy commented 10 years ago

@mzalam, any status update here?

mzalam commented 10 years ago

Tim my apologies. I wrote the response but never pressed submit.

You are absolutely correct. One if them is with bracket. I m confused why it is gave the trouble now and not before. Anyways.

Thanks again and my sincere apologies for not updating you.

-----Original Message----- From: "Tim Holy" notifications@github.com Sent: ‎2014-‎08-‎01 4:27 PM To: "timholy/Grid.jl" Grid.jl@noreply.github.com Cc: "mzalam" zahirul.alam@gmail.com Subject: Re: [Grid.jl] error: CoordInterpGrid changed? (#39)

@mzalam, any status update here? — Reply to this email directly or view it on GitHub.

timholy commented 10 years ago

No problem, thanks for the feedback!