@@ -1614,7 +1614,7 @@ cdef class Matrix_integer_dense(Matrix_dense):
1614
1614
return self ._mod_two()
1615
1615
elif p < MAX_MODULUS_FLOAT:
1616
1616
res_f = Matrix_modn_dense_float.__new__ (Matrix_modn_dense_float,
1617
- matrix_space.MatrixSpace(IntegerModRing(p), self ._nrows, self ._ncols, sparse = False ), None , None , None )
1617
+ matrix_space.MatrixSpace(IntegerModRing(p), self ._nrows, self ._ncols, sparse = False ), None , None , None , zeroed_alloc = False )
1618
1618
for i from 0 <= i < self ._nrows:
1619
1619
res_row_f = res_f._matrix[i]
1620
1620
for j from 0 <= j < self ._ncols:
@@ -1623,7 +1623,7 @@ cdef class Matrix_integer_dense(Matrix_dense):
1623
1623
1624
1624
elif p < MAX_MODULUS_DOUBLE:
1625
1625
res_d = Matrix_modn_dense_double.__new__ (Matrix_modn_dense_double,
1626
- matrix_space.MatrixSpace(IntegerModRing(p), self ._nrows, self ._ncols, sparse = False ), None , None , None )
1626
+ matrix_space.MatrixSpace(IntegerModRing(p), self ._nrows, self ._ncols, sparse = False ), None , None , None , zeroed_alloc = False )
1627
1627
for i from 0 <= i < self ._nrows:
1628
1628
res_row_d = res_d._matrix[i]
1629
1629
for j from 0 <= j < self ._ncols:
@@ -1649,11 +1649,11 @@ cdef class Matrix_integer_dense(Matrix_dense):
1649
1649
if p < MAX_MODULUS_FLOAT:
1650
1650
res.append( Matrix_modn_dense_float.__new__ (Matrix_modn_dense_float,
1651
1651
matrix_space.MatrixSpace(IntegerModRing(p), self ._nrows, self ._ncols, sparse = False ),
1652
- None , None , None ) )
1652
+ None , None , None , zeroed_alloc = False ) )
1653
1653
elif p < MAX_MODULUS_DOUBLE:
1654
1654
res.append( Matrix_modn_dense_double.__new__ (Matrix_modn_dense_double,
1655
1655
matrix_space.MatrixSpace(IntegerModRing(p), self ._nrows, self ._ncols, sparse = False ),
1656
- None , None , None ) )
1656
+ None , None , None , zeroed_alloc = False ) )
1657
1657
else :
1658
1658
raise ValueError (" p=%d too big." % p)
1659
1659
0 commit comments