It is possible that you have managed to get into a state where there are two 
different types by the name Params.


> On Dec 11, 2014, at 9:10 PM, Test This <[email protected]> wrote:
> 
> 
> I am running into what appears to be weird error. I have this function 
> simulate that takes two arguments. When I try to run the file containing this 
> function I get 
> the following error. I have added println( methods(simulate) ) to the code so 
> that you can see its methods.
> 
> 
> # 1 method for generic function "simulate":
> simulate(params::Params,rseed::Int64) at /Users/code/simulationcode.jl:340
> ERROR: `simulate` has no method matching simulate(::Params, ::Int64)
> 
> Are the 2nd and 3rd lines not contradictory? 
> 
> Thanks in advance for your help.

Reply via email to