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 689d7fe commit 4546145Copy full SHA for 4546145
src/iterator.jl
@@ -26,7 +26,7 @@ function Base.iterate(::BlockedIndices, i)
26
if r === nothing
27
ii = iterate(chunkiter)
28
ii === nothing && return nothing
29
- innerinds = Iterators.Stateful(CartesianIndices(first(ii)))
+ Iterators.reset!(innerinds, CartesianIndices(first(ii)))
30
r = iterate(innerinds)
31
r === nothing && return nothing
32
return first(r), (chunkiter, innerinds)
0 commit comments