I would suggest to post the full code - what is the definition of D? If I take `D = sprand(10^6,10^3, .1)` then the rest of your code works fine (on a recent Windows nightly).
On Fri, Aug 1, 2014 at 12:14 AM, paul analyst <[email protected]> wrote: > No help ? > > W dniu czwartek, 31 lipca 2014 18:12:24 UTC+2 użytkownik paul analyst > napisał: > >> i=1 >> Df=zeros(D); # sparse array 10^6 x 10^3 >> ee=mean(D[:,i]); >> Y=(D[:,i].-ee); >> temp=mean(Y) >> E=ee-temp; >> Df[:,i]=D[:,i].-E >> ERROR: InexactError() >> in copy! at abstractarray.jl:149 >> in convert at sparse/sparsematrix.jl:160 >> in vcat at abstractarray.jl:503 >> >> Paul >> >
