@@ -214,7 +214,7 @@ class _FinitePointTester():
214
214
"""
215
215
216
216
def matrix1 (self ):
217
- from sage . all import RIF , CIF , matrix
217
+ from ... sage_helper import RIF , CIF , matrix
218
218
return matrix (
219
219
[[CIF (RIF (1.3 ), RIF (- 0.4 )), CIF (RIF (5.6 ), RIF (2.3 ))],
220
220
[CIF (RIF (- 0.3 ), RIF (0.1 )), CIF (1 )]])
@@ -223,7 +223,7 @@ def extended_matrix1(self, isOrientationReversing):
223
223
return ExtendedMatrix (self .matrix1 (), isOrientationReversing )
224
224
225
225
def matrix2 (self ):
226
- from sage . all import RIF , CIF , matrix
226
+ from ... sage_helper import RIF , CIF , matrix
227
227
return matrix (
228
228
[[CIF (RIF (0.3 ), RIF (- 1.4 )), CIF (RIF (3.6 ), RIF (6.3 ))],
229
229
[CIF (RIF (- 0.3 ), RIF (1.1 )), CIF (1 )]])
@@ -234,7 +234,7 @@ def extended_matrix2(self, isOrientationReversing):
234
234
def images_have_same_distance (self , m ):
235
235
from sage .rings .real_mpfi import RealIntervalFieldElement
236
236
237
- from sage . all import RIF , CIF
237
+ from ... sage_helper import RIF , CIF
238
238
a = FinitePoint (CIF (RIF (3.5 ),RIF (- 3.0 )), RIF (8.5 ))
239
239
b = FinitePoint (CIF (RIF (4.5 ),RIF (- 4.5 )), RIF (9.6 ))
240
240
@@ -254,7 +254,7 @@ def images_have_same_distance(self, m):
254
254
raise Exception ("Distance changed %r %r" % (d_before , d_after ))
255
255
256
256
def matrix_multiplication_works (self , matrices ):
257
- from sage . all import RIF , CIF , prod
257
+ from ... sage_helper import RIF , CIF , prod
258
258
259
259
a = FinitePoint (CIF (RIF (3.5 ),RIF (- 3.0 )), RIF (8.5 ))
260
260
0 commit comments