Skip to content

Commit bbcc4ff

Browse files
committed
Track API change in Matcher in mathics-core
1 parent ab245f4 commit bbcc4ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymathics/graph/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ class AdjacencyList(_NetworkXBuiltin):
856856
def _retrieve(self, graph, what, neighbors, expression, evaluation):
857857
if what.get_head_name() in pattern_objects:
858858
collected = set()
859-
match = Matcher(what).match
859+
match = Matcher(what, evaluation).match
860860
for v in graph.G.nodes:
861861
if match(v, evaluation):
862862
collected.update(neighbors(v))

0 commit comments

Comments
 (0)