Skip to content

Commit a52a33f

Browse files
author
Marie BONBOIRE
committed
missing import
1 parent f42998b commit a52a33f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/sage/matrix/matrix_modn_dense_template.pxi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ We test corner cases for multiplication::
9090
from libc.stdint cimport uint64_t
9191
from cpython.bytes cimport *
9292

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
9494
from cysignals.signals cimport sig_check, sig_on, sig_off
9595

9696
from sage.libs.gmp.mpz cimport *
@@ -123,7 +123,7 @@ from sage.structure.proof.proof import get_flag as get_proof_flag
123123
from sage.structure.richcmp cimport rich_to_bool
124124
from sage.misc.randstate cimport randstate, current_randstate
125125
import sage.matrix.matrix_space as matrix_space
126-
from .args cimport MatrixArgs_init
126+
from .args cimport SparseEntry, MatrixArgs_init
127127

128128

129129
from sage.cpython.string cimport char_to_str
@@ -3105,7 +3105,7 @@ cdef class Matrix_modn_dense_template(Matrix_dense):
31053105
A._matrix[i][j] = self._matrix[i][col]
31063106

31073107
return A
3108-
3108+
31093109
def matrix_from_rows(self, rows):
31103110
"""
31113111
Return the matrix constructed from self using rows with indices in
@@ -3189,7 +3189,7 @@ cdef class Matrix_modn_dense_template(Matrix_dense):
31893189
raise IndexError("row index out of range")
31903190
for j, col in enumerate(columns):
31913191
A._matrix[i][j] = self._matrix[row][col]
3192-
3192+
31933193
return A
31943194

31953195
def __bool__(self):

0 commit comments

Comments
 (0)