Skip to content

Commit

Permalink
bugfix StaticLength removal
Browse files Browse the repository at this point in the history
  • Loading branch information
Jutho committed Jul 24, 2023
1 parent 5a87a06 commit 1cb531f
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 @@ -483,7 +483,7 @@ function _computeblocks(dims::NTuple{N,Int}, costs::NTuple{N,Int},
end

if minimum(minimum.(bytestrides)) > blocksize
return ntuple(n -> 1, StaticLength(N))
return ntuple(n -> 1, N)
end

# reduce dims to find appropriate blocks
Expand Down

0 comments on commit 1cb531f

Please sign in to comment.