File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1234,7 +1234,7 @@ def connected_component(self, cell=None):
1234
1234
if v not in g :
1235
1235
raise ValueError (
1236
1236
"the polyhedral complex does not contain the given cell" )
1237
- vertices = g .connected_component_containing_vertex (v )
1237
+ vertices = g .connected_component_containing_vertex (v , sort = False )
1238
1238
facets = [f for f in self .maximal_cell_iterator ()
1239
1239
if any (vf in f .vertices_matrix ().columns ()
1240
1240
for vf in vertices )]
@@ -1243,7 +1243,7 @@ def connected_component(self, cell=None):
1243
1243
if cell not in g :
1244
1244
raise ValueError (
1245
1245
"the polyhedral complex does not contain the given cell" )
1246
- faces = g .connected_component_containing_vertex (cell )
1246
+ faces = g .connected_component_containing_vertex (cell , sort = False )
1247
1247
facets = [f for f in self .maximal_cell_iterator ()
1248
1248
if f in faces ]
1249
1249
return PolyhedralComplex (facets , maximality_check = False ,
You can’t perform that action at this time.
0 commit comments