diff --git a/transformations/transformations/pool_allocator.py b/transformations/transformations/pool_allocator.py index 44389157c..51a16f668 100644 --- a/transformations/transformations/pool_allocator.py +++ b/transformations/transformations/pool_allocator.py @@ -759,8 +759,9 @@ def inject_pool_allocator_into_calls(self, routine, targets, ignore): call_map = {} for call in FindInlineCalls().visit(routine.body): if call.name.lower() in [t.lower() for t in targets]: - parameters = call.parameters - call_map[call] = call.clone(kw_parameters=as_tuple(call.kw_parameters) + new_kwarguments) + call_map[call] = call.clone( + kw_parameters=as_tuple(call.kw_parameters) + new_kwarguments + ) if call_map: routine.body = SubstituteExpressions(call_map).visit(routine.body)