Skip to content

Commit

Permalink
Verify: renaming some python files to conform to naming conventions.
Browse files Browse the repository at this point in the history
  • Loading branch information
unhyperbolic committed Feb 18, 2024
1 parent 2bbefea commit bf9796a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions doc_src/verify_internals.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ Verified canonical cell decompositions
Exact computations for cusp cross sections
------------------------------------------

.. automodule:: snappy.verify.squareExtensions
.. automodule:: snappy.verify.square_extensions

.. autofunction:: snappy.verify.squareExtensions.find_shapes_as_complex_sqrt_lin_combinations
.. autofunction:: snappy.verify.square_extensions.find_shapes_as_complex_sqrt_lin_combinations
.. autoclass:: SqrtLinCombination
:members:
.. autoclass:: ComplexSqrtLinCombination
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
The squareExtensions module provides
The square_extensions module provides
two special classes to give exact representations of the values
involved when computing a cusp cross section.
Expand Down Expand Up @@ -39,7 +39,7 @@

from ..snap import find_field

from .realAlgebra import field_containing_real_and_imaginary_part_of_number_field
from .real_algebra import field_containing_real_and_imaginary_part_of_number_field


def eval_number_field_elt(elt, root):
Expand Down Expand Up @@ -75,7 +75,7 @@ def eval_number_field_elt(elt, root):
# _field_containing_real_and_imaginary_part_of_algebraic_number_LLL.
# This was still very slow and failed on t11669 and 9 manifolds with 9 tetrahedra.
#
# The fastest implementation so far is in realAlgebra. The implementation there
# The fastest implementation so far is in real_algebra. The implementation there
# turns the one complex equation p(z) = 0 defining the number field into two
# real equations for the real and imaginary part of the complex equation and
# then uses the resultant to find exact solutions.
Expand Down
4 changes: 2 additions & 2 deletions python/verify/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def run_doctests(verbose=False, print_info=True):
verify.maximal_cusp_area_matrix,
verify.maximal_cusp_area_matrix.cusp_tiling_engine,
verify.maximal_cusp_area_matrix.cusp_translate_engine,
verify.squareExtensions,
verify.realAlgebra ],
verify.square_extensions,
verify.real_algebra ],
extraglobs=globs,
verbose=verbose, print_info=print_info)

Expand Down
2 changes: 1 addition & 1 deletion python/verify/verify_canonical.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from ..geometric_structure.cusp_neighborhood.cusp_cross_section import RealCuspCrossSection
from ..snap.t3mlite import simplex

from .squareExtensions import find_shapes_as_complex_sqrt_lin_combinations
from .square_extensions import find_shapes_as_complex_sqrt_lin_combinations
from . import edge_equations
from . import verifyHyperbolicity
from . import exceptions
Expand Down

0 comments on commit bf9796a

Please sign in to comment.