From bbcc4ff5b3def03ed46768bfa784799532b97509 Mon Sep 17 00:00:00 2001 From: rocky Date: Tue, 1 Oct 2024 07:53:46 -0400 Subject: [PATCH] Track API change in Matcher in mathics-core --- pymathics/graph/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymathics/graph/base.py b/pymathics/graph/base.py index 7894d1a..59e7daa 100644 --- a/pymathics/graph/base.py +++ b/pymathics/graph/base.py @@ -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))