We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 112a8fc commit 72c42f4Copy full SHA for 72c42f4
1 file changed
src/pyscipopt/matrix.pxi
@@ -16,9 +16,6 @@ def _is_number(e):
16
return False
17
18
class MatrixExpr(np.ndarray):
19
- def sum(self, **kwargs):
20
- return super().sum(**kwargs).item()
21
-
22
def __le__(self, other: Union[float, int, Variable, np.ndarray, 'MatrixExpr']) -> np.ndarray:
23
24
expr_cons_matrix = np.empty(self.shape, dtype=object)
0 commit comments