diff --git a/loopy/symbolic.py b/loopy/symbolic.py index 43682cd0dac1d26ea0a9ae75c1cb5281df0f7bed..36880b5ac5137e75d5a4821aee09c67b84b68637 100644 --- a/loopy/symbolic.py +++ b/loopy/symbolic.py @@ -1834,6 +1834,10 @@ class PwAffEvaluationMapper(EvaluationMapperBase, IdentityMapperMixin): raise TypeError("reduction in '%s' not supported " "for as-pwaff evaluation" % expr) + def map_call(self, expr): + raise TypeError(f"call in '{expr}' not supported " + "for as-pwaff evaluation") + def aff_from_expr(space, expr, vars_to_zero=None): if vars_to_zero is None: