Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Revert "lazy import polyhedra instances"
Browse files Browse the repository at this point in the history
This reverts commit 7dae2c0.
  • Loading branch information
Jonathan Kliem committed Dec 10, 2020
1 parent d8934c0 commit 5e53333
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions src/sage/geometry/polyhedron/parent.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,6 @@
from sage.geometry.polyhedron.base import is_Polyhedron
from .representation import Inequality, Equation, Vertex, Ray, Line

from sage.misc.lazy_import import lazy_import

lazy_import('sage.geometry.polyhedron.backend_cdd', ['Polyhedron_QQ_cdd',
'Polyhedron_RDF_cdd'])
lazy_import('sage.geometry.polyhedron.backend_ppl', ['Polyhedron_ZZ_ppl',
'Polyhedron_QQ_ppl'])
lazy_import('sage.geometry.polyhedron.backend_normaliz', ['Polyhedron_normaliz',
'Polyhedron_ZZ_normaliz',
'Polyhedron_QQ_normaliz'])
lazy_import('sage.geometry.polyhedron.backend_polymake', 'Polyhedron_polymake')
lazy_import('sage.geometry.polyhedron.backend_field', 'Polyhedron_field')


def Polyhedra(ambient_space_or_base_ring=None, ambient_dim=None, backend=None, *,
ambient_space=None, base_ring=None):
Expand Down Expand Up @@ -1078,6 +1066,11 @@ def _make_Line(self, polyhedron, data):



from sage.geometry.polyhedron.backend_cdd import Polyhedron_QQ_cdd, Polyhedron_RDF_cdd
from sage.geometry.polyhedron.backend_ppl import Polyhedron_ZZ_ppl, Polyhedron_QQ_ppl
from sage.geometry.polyhedron.backend_normaliz import Polyhedron_normaliz, Polyhedron_ZZ_normaliz, Polyhedron_QQ_normaliz
from sage.geometry.polyhedron.backend_polymake import Polyhedron_polymake
from sage.geometry.polyhedron.backend_field import Polyhedron_field

class Polyhedra_ZZ_ppl(Polyhedra_base):
Element = Polyhedron_ZZ_ppl
Expand Down

0 comments on commit 5e53333

Please sign in to comment.