@@ -90,7 +90,7 @@ We test corner cases for multiplication::
90
90
from libc.stdint cimport uint64_t
91
91
from cpython.bytes cimport *
92
92
93
- from cysignals.memory cimport check_malloc, check_allocarray, sig_malloc, sig_free
93
+ from cysignals.memory cimport check_malloc, check_allocarray, check_calloc, sig_malloc, sig_free
94
94
from cysignals.signals cimport sig_check, sig_on, sig_off
95
95
96
96
from sage.libs.gmp.mpz cimport *
@@ -123,7 +123,7 @@ from sage.structure.proof.proof import get_flag as get_proof_flag
123
123
from sage.structure.richcmp cimport rich_to_bool
124
124
from sage.misc.randstate cimport randstate, current_randstate
125
125
import sage.matrix.matrix_space as matrix_space
126
- from .args cimport MatrixArgs_init
126
+ from .args cimport SparseEntry, MatrixArgs_init
127
127
128
128
129
129
from sage.cpython.string cimport char_to_str
@@ -3105,7 +3105,7 @@ cdef class Matrix_modn_dense_template(Matrix_dense):
3105
3105
A._matrix[i][j] = self ._matrix[i][col]
3106
3106
3107
3107
return A
3108
-
3108
+
3109
3109
def matrix_from_rows (self , rows ):
3110
3110
"""
3111
3111
Return the matrix constructed from self using rows with indices in
@@ -3189,7 +3189,7 @@ cdef class Matrix_modn_dense_template(Matrix_dense):
3189
3189
raise IndexError (" row index out of range" )
3190
3190
for j, col in enumerate (columns):
3191
3191
A._matrix[i][j] = self ._matrix[row][col]
3192
-
3192
+
3193
3193
return A
3194
3194
3195
3195
def __bool__ (self ):
0 commit comments