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 df5248e commit 8b3d0b7
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 @@ -3166,7 +3166,7 @@ def mean(
sum_array = sum_array.astype(dtype)
if dtype.kind == "f" or dtype.kind == "c":
sum_array.__itruediv__(
np.array(divisor, dtype=dtype),
divisor.astype(dtype),
)
else:
sum_array.__ifloordiv__(np.array(divisor, dtype=dtype))
Expand Down

0 comments on commit 8b3d0b7

Please sign in to comment.