We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81b20b7 commit f509f59Copy full SHA for f509f59
src/darray.jl
@@ -198,7 +198,7 @@ function DArray(refs)
198
nindices = Array{NTuple{length(dimdist),UnitRange{Int}}}(undef, dimdist...)
199
200
for i in 1:length(nindices)
201
- subidx = CartesianIndices(dimdist)[i] #ind2sub(dimdist, i)
+ subidx = CartesianIndices(dimdist)[i]
202
nindices[i] = ntuple(length(subidx)) do x
203
idx_in_dim = subidx[x]
204
startidx = 1
0 commit comments