"LoadError: MethodError: `meshgrid` has no method matching meshgrid(::LinSpace{Float64}, ::LinSpace{Float64})
while loading In[7], in expression starting on line 20
in getindex at C:\Users\Io.julia\v0.4\PyCall\src\PyCall.jl:239"
QuantEcon is installed. Any idea about the source of the problem?
Thanks for noticing this. The problem is the following:
julia> xgrid, ygrid = meshgrid(x, y)
ERROR: MethodError: `meshgrid` has no method matching meshgrid(::LinSpace{Float64}, ::LinSpace{Float64})
At one point, I believe that the linspace command gave an array as its output, but since then Julia has created a LinSpace type. Note the type of x (or y),
julia> typeof(x)
LinSpace{Float64}
We will fix this in next day or so, but until then you can use the following command to get the correct meshgrid
Notice that my suggestion may soon not be necessary.
We are considering a change in the way meshgrid is defined that would allow LinSpace types to be passed into the function. See this pull interest on our github repository.