Skip to content

Commit

Permalink
3D and higher reduction
Browse files Browse the repository at this point in the history
  • Loading branch information
CasBex committed Aug 8, 2023
1 parent c78e3b5 commit 8aab70b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CircularArrayBuffers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ end
end
end

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

Expand Down

0 comments on commit 8aab70b

Please sign in to comment.