You are right. The error is gone .Thank you
On Tuesday, November 3, 2015 at 4:44:03 PM UTC+8, Tomas Lycken wrote:
>
> Most likely, you’ve imported or defined different versions of the type, 
> and/or you have an old definition laying around in the REPL session 
> somewhere. convert tries to convert an instance of the old version of the 
> type, and fails, because the convert is defined for a newer version. (You 
> can think of this as there existing two different types with the same name, 
> and the convert method you want is defined for the wrong one…)
>
> Try restarting the REPL, and the problem will probably go away.
>
> // T
>
> On Tuesday, November 3, 2015 at 9:24:57 AM UTC+1, Lanting Guo wrote:
>
> I want to convert a self defined type COSMIC.OrderedSampleMatrix to 
>> Array{ASCIIString,2}, but the repl displays a MethodError. But run in the 
>> script, everything is OK. I am confused about this.
>>
>>
>> <https://lh3.googleusercontent.com/-DRB9dAVd0ao/Vjht-JvJZUI/AAAAAAAAAI8/nZ7coSTijyI/s1600/julia_user.jpg>
>>
>> ​
>

Reply via email to