Skip to content

Commit ae1f27a

Browse files
simplify
1 parent 201ea8a commit ae1f27a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

loopy/statistics.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -929,8 +929,7 @@ def map_constant(self, expr):
929929
map_variable = map_constant
930930

931931
def map_with_tag(self, expr):
932-
meth = getattr(self, expr.expr.mapper_method)
933-
opmap = meth(expr.expr)
932+
opmap = self.rec(expr.expr)
934933
for op in opmap.count_map:
935934
op.tags = expr.tags
936935
return opmap

0 commit comments

Comments
 (0)