Skip to content

Commit

Permalink
Update test_optimizable.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mbkumar authored Jan 9, 2025
1 parent 48eaf80 commit d524b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/core/test_optimizable.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def sum(self):
return np.sum(self.local_full_x)

def product(self):
return np.product(self.local_full_x)
return np.prod(self.local_full_x)

return_fn_map = {'sum': sum, 'prod': product}

Expand Down

0 comments on commit d524b10

Please sign in to comment.