Thanks for the link to NEWS.md! It sounds weird with the incomparable types. Maybe it was a bug in the old version? Anyway, I'll make things compatible with the new ways.
On Thursday, February 19, 2015 at 4:11:12 PM UTC+1, Stefan Karpinski wrote: > > The NEWS.md file <https://github.com/JuliaLang/julia/blob/master/NEWS.md> > is a good place to look for changes: > > https://github.com/JuliaLang/julia/blob/master/NEWS.md#language-changes > > The new behavior of [ ] is the first item under language changes > <https://github.com/JuliaLang/julia/blob/master/NEWS.md#language-changes> > with links to the relevant issues and pull requests. > > The type matching change may well be a bug fix since Array{Any,1} and > Array{Array,1} are incomparable types (i.e. neither is a subtype of the > other, nor are they the equivalent). I'd have to see this spelled out a bit > more to know what change you're referring to. > > > > On Thu, Feb 19, 2015 at 5:49 AM, Robert DJ <[email protected] > <javascript:>> wrote: > >> Hi, >> >> I have just updated Julia for the first time in 10 days and now I face >> problems with old code: >> >> - The error "WARNING: [a] concatenation is deprecated; use [a;] instead". >> Easy to fix, but what is the reasoning behind adding the ";"? >> >> - Type matching has changed: I have a function that takes arguments of >> the type `Array{Array{T,N},1}` (output from `typeof`; in words, it is an >> array where each element is an Array{Any,1} with multiple Array{Float,2}). >> As type specification in the function, `Array{Any,1}` used to work, but >> not anymore. >> Specifying the type as `Array{Array{T,N},1}` with N being an appropriate >> number doesn't work either. >> Is there a solution to this? >> >> Thanks, >> >> Robert >> >> >
