Skip to content

Commit 8aab70b

Browse files
committed
3D and higher reduction
1 parent c78e3b5 commit 8aab70b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CircularArrayBuffers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ end
9696
end
9797
end
9898

99-
_buffer_frame(cb::CircularArrayBuffer, I::CartesianIndex) = map(i -> _buffer_frame(cb, i), Tuple(I)...)
99+
_buffer_frame(cb::CircularArrayBuffer, I::CartesianIndex) = CartesianIndex(map(i->_buffer_frame(cb, i), Tuple(I)))
100100
_buffer_frame(cb::CircularArrayBuffer, I::AbstractArray{<:Integer}) = map(i -> _buffer_frame(cb, i), I)
101101
_buffer_frame(cb::CircularArrayBuffer, ::Colon) = _buffer_frame(cb, axes(cb)[end])
102102

0 commit comments

Comments
 (0)