Skip to content

Commit

Permalink
Update cunumeric/array.py
Browse files Browse the repository at this point in the history
Co-authored-by: Manolis Papadakis <[email protected]>
  • Loading branch information
ipdemes and manopapad authored Nov 9, 2023
1 parent 7070d9f commit c00661a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cunumeric/array.py
Original file line number Diff line number Diff line change
Expand Up @@ -3154,7 +3154,7 @@ def mean(
if where_array is not None:
divisor = where_array._count_nonzero()
else:
divisor = reduce(lambda x, y: x * y, self.shape, 1)
divisor = np.array(reduce(lambda x, y: x * y, self.shape, 1))

else:
if where_array is not None:
Expand Down

0 comments on commit c00661a

Please sign in to comment.