diff --git a/tests/core/test_optimizable.py b/tests/core/test_optimizable.py index 222c94ec1..079b245b5 100755 --- a/tests/core/test_optimizable.py +++ b/tests/core/test_optimizable.py @@ -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}