Skip to content

Commit f066c7e

Browse files
committed
python/verify/upper_halfspace/finite_point.py: Replace .all imports
1 parent 74d833c commit f066c7e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: python/verify/upper_halfspace/finite_point.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ class _FinitePointTester():
214214
"""
215215

216216
def matrix1(self):
217-
from sage.all import RIF, CIF, matrix
217+
from ...sage_helper import RIF, CIF, matrix
218218
return matrix(
219219
[[CIF(RIF(1.3), RIF(-0.4)), CIF(RIF(5.6), RIF(2.3))],
220220
[CIF(RIF(-0.3), RIF(0.1)), CIF(1)]])
@@ -223,7 +223,7 @@ def extended_matrix1(self, isOrientationReversing):
223223
return ExtendedMatrix(self.matrix1(), isOrientationReversing)
224224

225225
def matrix2(self):
226-
from sage.all import RIF, CIF, matrix
226+
from ...sage_helper import RIF, CIF, matrix
227227
return matrix(
228228
[[CIF(RIF(0.3), RIF(-1.4)), CIF(RIF(3.6), RIF(6.3))],
229229
[CIF(RIF(-0.3), RIF(1.1)), CIF(1)]])
@@ -234,7 +234,7 @@ def extended_matrix2(self, isOrientationReversing):
234234
def images_have_same_distance(self, m):
235235
from sage.rings.real_mpfi import RealIntervalFieldElement
236236

237-
from sage.all import RIF, CIF
237+
from ...sage_helper import RIF, CIF
238238
a = FinitePoint(CIF(RIF(3.5),RIF(-3.0)), RIF(8.5))
239239
b = FinitePoint(CIF(RIF(4.5),RIF(-4.5)), RIF(9.6))
240240

@@ -254,7 +254,7 @@ def images_have_same_distance(self, m):
254254
raise Exception("Distance changed %r %r" % (d_before, d_after))
255255

256256
def matrix_multiplication_works(self, matrices):
257-
from sage.all import RIF, CIF, prod
257+
from ...sage_helper import RIF, CIF, prod
258258

259259
a = FinitePoint(CIF(RIF(3.5),RIF(-3.0)), RIF(8.5))
260260

0 commit comments

Comments
 (0)