Skip to content

Commit 696d210

Browse files
committed
EdgeList and VertexList fixes
1 parent 9bce86d commit 696d210

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymathics/graph/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,7 +1318,7 @@ class VertexList(_PatternList):
13181318
"""
13191319

13201320
def _items(self, graph):
1321-
return graph.vertices.expressions
1321+
return graph.vertices
13221322

13231323

13241324
class EdgeCount(_PatternCount):
@@ -1338,7 +1338,7 @@ class EdgeList(_PatternList):
13381338
"""
13391339

13401340
def _items(self, graph):
1341-
return graph.edges.expressions
1341+
return graph.edges
13421342

13431343

13441344
class EdgeRules(_NetworkXBuiltin):

0 commit comments

Comments
 (0)