Skip to content

Commit

Permalink
Fix mapreduce dispatch (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
meggart authored Oct 18, 2024
1 parent 1cc1d91 commit 34d5b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapreduce.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
macro implement_mapreduce(t)
t = esc(t)
quote
function Base._mapreduce(f, op, v::$t)
function Base._mapreduce(f, op, ::IndexCartesian, v::$t)
mapreduce(op, eachchunk(v)) do cI
a = v[to_ranges(cI)...]
mapreduce(f, op, a)
Expand Down

0 comments on commit 34d5b0d

Please sign in to comment.