From ae1f27adbceb346ee21d8b162d3486bd0bd657db Mon Sep 17 00:00:00 2001 From: Matthias Diener Date: Mon, 10 Oct 2022 23:13:40 -0500 Subject: [PATCH] simplify --- loopy/statistics.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/loopy/statistics.py b/loopy/statistics.py index 3f199683a..31f48e431 100755 --- a/loopy/statistics.py +++ b/loopy/statistics.py @@ -929,8 +929,7 @@ def map_constant(self, expr): map_variable = map_constant def map_with_tag(self, expr): - meth = getattr(self, expr.expr.mapper_method) - opmap = meth(expr.expr) + opmap = self.rec(expr.expr) for op in opmap.count_map: op.tags = expr.tags return opmap