Skip to content

Commit 25783a4

Browse files
author
Matthias Koeppe
committed
Replace relative imports by absolute imports because pytest
1 parent e02e213 commit 25783a4

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/sage/matrix/matrix_integer_dense_hnf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@
99
from copy import copy
1010

1111
from sage.arith.misc import CRT_list, previous_prime
12+
from sage.matrix.constructor import identity_matrix, matrix, random_matrix
1213
from sage.misc.misc import cputime
1314
from sage.misc.verbose import verbose
1415
from sage.rings.integer import Integer
1516
from sage.rings.integer_ring import ZZ
1617
from sage.rings.real_mpfr import RR
1718

18-
from .constructor import identity_matrix, matrix, random_matrix
19-
2019

2120
def max_det_prime(n):
2221
"""

src/sage/matrix/matrix_integer_dense_saturation.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@
55
from copy import copy
66

77
from sage.arith.misc import binomial, GCD as gcd
8+
from sage.matrix import matrix_integer_dense_hnf
9+
from sage.matrix.constructor import identity_matrix, random_matrix
810
from sage.misc.randstate import current_randstate
911
from sage.misc.verbose import verbose
1012
from sage.rings.finite_rings.finite_field_constructor import FiniteField as GF
1113
from sage.rings.integer_ring import ZZ
1214

13-
from . import matrix_integer_dense_hnf
14-
from .constructor import identity_matrix, random_matrix
15-
1615

1716
def p_saturation(A, p, proof=True):
1817
"""

0 commit comments

Comments
 (0)