Skip to content

Commit

Permalink
src/sage/categories/coxeter_groups.py: Remove module-level import fro…
Browse files Browse the repository at this point in the history
…m sage.graphs
  • Loading branch information
mkoeppe committed Oct 25, 2021
1 parent ad7daf1 commit 3aedcc2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sage/categories/coxeter_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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))

0 comments on commit 3aedcc2

Please sign in to comment.