From 3dc64b24f43c632af3526eda6de929efe3fae5ba Mon Sep 17 00:00:00 2001 From: Dominic Kempf Date: Mon, 21 Nov 2016 13:11:31 +0100 Subject: [PATCH] [bugfix] Pass mapper args into recursion for predicates Fixes regression introduced in 8c5365c96 --- loopy/kernel/instruction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loopy/kernel/instruction.py b/loopy/kernel/instruction.py index 528916245..b306e6e6e 100644 --- a/loopy/kernel/instruction.py +++ b/loopy/kernel/instruction.py @@ -1173,7 +1173,7 @@ class CInstruction(InstructionBase): for name, expr in self.iname_exprs], assignees=[f(a, *args) for a in self.assignees], predicates=frozenset( - f(pred) for pred in self.predicates)) + f(pred, *args) for pred in self.predicates)) # }}} -- GitLab