This one is a bit tricky. The reason is that L is a Matrix and F[:,1] is a vector. Try F[:,1][vec(L.==0)]
Med venlig hilsen Andreas Noack 2014-08-13 7:06 GMT-04:00 paul analyst <[email protected]>: > F is dense > julia> size(F) > (6237437,284) > > julia> size(L) > (6237437,1) > > julia> F[:,1][L.==0] > ERROR: BoundsError() > in getindex_bool_1d at array.jl:285 > > julia> L > 6237437x1 sparse matrix with 20869 Int16 entries: > [66 , 1] = 1 > [104 , 1] = 0 > > Paul > >
