diff --git a/src/sage/categories/coxeter_groups.py b/src/sage/categories/coxeter_groups.py index 70a20541ed7..f480095041a 100644 --- a/src/sage/categories/coxeter_groups.py +++ b/src/sage/categories/coxeter_groups.py @@ -22,7 +22,6 @@ from sage.categories.generalized_coxeter_groups import GeneralizedCoxeterGroups from sage.structure.element import have_same_parent, parent from sage.misc.flatten import flatten -from sage.graphs.digraph import DiGraph from sage.rings.integer_ring import ZZ from copy import copy from collections import deque @@ -2943,6 +2942,6 @@ def kazhdan_lusztig_cell(self, side='left'): vertices.add(y) queue.appendleft(y) + from sage.graphs.digraph import DiGraph g = DiGraph([list(vertices), list(edges)]) return set(g.strongly_connected_component_containing_vertex(w)) -