Skip to content

Commit

Permalink
Track API change in Matcher in mathics-core
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Oct 1, 2024
1 parent ab245f4 commit bbcc4ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymathics/graph/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ class AdjacencyList(_NetworkXBuiltin):
def _retrieve(self, graph, what, neighbors, expression, evaluation):
if what.get_head_name() in pattern_objects:
collected = set()
match = Matcher(what).match
match = Matcher(what, evaluation).match
for v in graph.G.nodes:
if match(v, evaluation):
collected.update(neighbors(v))
Expand Down

0 comments on commit bbcc4ff

Please sign in to comment.