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 17, 2023
1 parent 9d5b364 commit 2bd62eb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cunumeric/array.py
Original file line number Diff line number Diff line change
Expand Up @@ -3147,9 +3147,7 @@ def mean(

else:
if where_array is not None:
divisor = np.array(
where_array.sum(axis=axis, keepdims=keepdims)
)
divisor = where_array.sum(axis=axis, keepdims=keepdims)
else:
divisor = np.array(self.shape[axis])

Expand Down

0 comments on commit 2bd62eb

Please sign in to comment.