Skip to content

Commit 85ef414

Browse files
author
Matthias Koeppe
committed
src/sage/combinat/root_system/reflection_group_real.py: Move import into method
1 parent d31af43 commit 85ef414

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sage/combinat/root_system/reflection_group_real.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
from sage.misc.cachefunc import cached_function, cached_method, cached_in_parent_method
4848
from sage.combinat.root_system.cartan_type import CartanType, CartanType_abstract
4949
from sage.rings.integer_ring import ZZ
50-
from sage.interfaces.gap3 import gap3
5150
from sage.combinat.root_system.reflection_group_complex import ComplexReflectionGroup, IrreducibleComplexReflectionGroup
5251
from sage.misc.sage_eval import sage_eval
5352
from sage.combinat.root_system.reflection_group_element import RealReflectionGroupElement
@@ -124,6 +123,8 @@ def ReflectionGroup(*args,**kwds):
124123
"""
125124
if not is_chevie_available():
126125
raise ImportError("the GAP3 package 'chevie' is needed to work with (complex) reflection groups")
126+
127+
from sage.interfaces.gap3 import gap3
127128
gap3.load_package("chevie")
128129

129130
error_msg = "the input data (%s) is not valid for reflection groups"

0 commit comments

Comments
 (0)