diff --git a/src/pyhf/tensor/numpy_backend.py b/src/pyhf/tensor/numpy_backend.py index b1bdcf7880..bb96393937 100644 --- a/src/pyhf/tensor/numpy_backend.py +++ b/src/pyhf/tensor/numpy_backend.py @@ -254,7 +254,7 @@ def sum(self, tensor_in: Tensor[T], axis: int | None = None) -> ArrayLike: return np.sum(tensor_in, axis=axis) def product(self, tensor_in: Tensor[T], axis: Shape | None = None) -> ArrayLike: - return np.product(tensor_in, axis=axis) # type: ignore[arg-type] + return np.prod(tensor_in, axis=axis) # type: ignore[arg-type] def abs(self, tensor: Tensor[T]) -> ArrayLike: return np.abs(tensor)