-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace imports from sage.all (#123)
* Replace imports from sage.all * python/snap/polished_reps.py: Use try..except for imports from Sage * src/snappy/verify/upper_halfspace/finite_point.py: Use try..except for imports from Sage * python/snap/polished_reps.py: Move try..except for imports to sage_helper * python/number.py: Go through .sage_helper instead of sage.all * python/verify/upper_halfspace/finite_point.py: Go through sage_helper instead of using try..except for imports * python/sage_helper.py: Fix for is_RealIntervalFieldElement * python/verify/upper_halfspace/ideal_point.py: Go through sage_helper * python/number.py: If SR cannot be imported, just do not register a coercion * python/verify/hyperbolicity.py: Go through sage_helper * python/cusps/maximal_cusp_area_matrix.py: Go through sage_helper * python/hyperboloid/distances.py: Go through sage_helper * python/tiling/tile.py: Go through sage_helper * python/verify/complex_volume/adjust_torsion.py: Go through sage_helper * python/verify/maximal_cusp_area_matrix/cusp_tiling_engine.py: Go through sage_helper * python/verify/upper_halfspace/finite_point.py: Go through sage_helper * python/pari.py: Use try..except for import of PariError * python/number.py: If SR cannot be imported, just do not register a coercion (fixup) * python/verify/complex_volume/extended_bloch.py: Go through sage_helper * python/verify/complex_volume/cusped.py: Go through sage_helper * python/upper_halfspace/__init__.py: Go through sage_helper for arccosh * python/database.py: Go through sage_helper * Use 'from sage.symbolic.constants import pi' * python/verify/complex_volume/closed.py: Go through sage_helper * cython/core/fundamental_group.pyx: Use import * python/testing.py: Use import * cython/core/abelian_group.pyx: Use import * cython/core/basic.pyx: Remove .all import * python/sage_helper.py: Fix import of RealNumber * python/sage_helper.py: Import Complex* later * python/verify/upper_halfspace/extended_matrix.py: Use try..except for import * python/verify/upper_halfspace/ideal_point.py: Use try...except for import * python/sage_helper.py: Import CIF, RIF * python/verify/upper_halfspace/extended_matrix.py: Import from sage_helper * python/sage_helper.py: Add imports from python/snap/find_field.py * python/sage_helper.py: Add imports from python/exterior_to_link/rational_linear_algebra*.py * python/sage_helper.py: Import RealField_class * More imports via sage_helper * python/sage_helper.py: Import xgcd * More imports via sage_helper * Even more imports via sage_helper * python/sage_helper.py: Import ComplexBallField, exp, sin, block_matrix, prime_range * python/sage_helper.py: Move imports from nsagetools here * python/sage_helper.py: Move remaining imports from slice_obs_HKL here * python/snap/peripheral: Import ChainComplex via sage_helper --------- Co-authored-by: Matthias Goerner <[email protected]>
- Loading branch information
1 parent
7833a9e
commit 28b2932
Showing
42 changed files
with
172 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.