I got InexactError() recently. Most likely because Df[:,i], D[:,i] and E are of not the same type.

On 2014年08月01日 00:12, paul analyst wrote:
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

Reply via email to