Skip to content

Commit 79f2771

Browse files
authored
Update matrix_double_dense.pyx
one detail
1 parent 92e94d9 commit 79f2771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/matrix/matrix_double_dense.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1739,7 +1739,7 @@ cdef class Matrix_double_dense(Matrix_numpy_dense):
17391739
import scipy
17401740
import scipy.linalg
17411741
X = self._new(self._ncols, B.ncols())
1742-
arr, _, _, _ = scipy.linalg.lstsq(self._matrix_numpy, B.numpy())
1742+
arr = scipy.linalg.lstsq(self._matrix_numpy, B.numpy())[0]
17431743
X._matrix_numpy = arr
17441744
return X
17451745

0 commit comments

Comments
 (0)