Skip to content

Commit 0dfb949

Browse files
committed
remove unused imports
1 parent 435ac9c commit 0dfb949

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

src/sage/libs/linbox/fflas.pxd

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ cdef extern from "fflas-ffpack/fflas-ffpack.h" namespace "FFLAS":
8383
cdef extern from "fflas-ffpack/fflas-ffpack.h" namespace "FFPACK":
8484
ctypedef enum FFPACK_LU_TAG:
8585
FfpackTileRecursive
86-
FfpackSlabRecursive
8786

8887
void RankProfileFromLU (size_t* P, size_t N, size_t R,
8988
size_t* rkprofile, FFPACK_LU_TAG LuTag)
@@ -92,8 +91,6 @@ cdef extern from "fflas-ffpack/fflas-ffpack.h" namespace "FFPACK":
9291

9392
void MathPerm2LAPACKPerm (size_t * LapackP, size_t * MathP, size_t N)
9493

95-
void LAPACKPerm2MathPerm (size_t * MathP, size_t * LapackP, size_t N)
96-
9794
# double
9895
bint IsSingular (Modular_double F,
9996
size_t nrows, size_t ncols, Modular_double.Element* A,

src/sage/matrix/matrix_modn_dense_template.pxi

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ from cysignals.signals cimport sig_check, sig_on, sig_off
9494

9595
from sage.libs.gmp.mpz cimport *
9696
from sage.libs.linbox.fflas cimport FFLAS_TRANSPOSE, FflasNoTrans, FflasTrans, \
97-
FfpackTileRecursive, FfpackSlabRecursive, FflasLeft, FflasRight, vector, list as std_list, \
98-
RankProfileFromLU, PLUQtoEchelonPermutation, MathPerm2LAPACKPerm, LAPACKPerm2MathPerm
97+
FfpackTileRecursive, FflasLeft, FflasRight, vector, list as std_list, \
98+
RankProfileFromLU, PLUQtoEchelonPermutation, MathPerm2LAPACKPerm
9999

100100
from libcpp cimport bool
101101
from sage.parallel.parallelism import Parallelism
@@ -1838,8 +1838,8 @@ cdef class Matrix_modn_dense_template(Matrix_dense):
18381838
ignore). However, ``efd=True`` uses more memory than FFLAS
18391839
directly (default: ``True``)
18401840
1841-
OUTPUT: if ``efd`` is ``False``, return the row rank profile of
1842-
``self``
1841+
OUTPUT: if ``efd`` is ``False``, return the pivot rows (a.k.a. row rank
1842+
profile) of the matrix ``self`` before echelonization
18431843
18441844
EXAMPLES::
18451845
@@ -1859,7 +1859,8 @@ cdef class Matrix_modn_dense_template(Matrix_dense):
18591859
r, pivots = linbox_echelonize_efd(self.p, self._entries,
18601860
self._nrows, self._ncols)
18611861
else:
1862-
r, pivots, rrp = linbox_echelonize(self.p, self._entries, self._nrows, self._ncols)
1862+
r, pivots, rrp = linbox_echelonize(self.p, self._entries,
1863+
self._nrows, self._ncols)
18631864
verbose('done with echelonize', t)
18641865
self.cache('in_echelon_form', True)
18651866
self.cache('rank', r)

0 commit comments

Comments
 (0)