diff --git a/src/pystencils/backend/kernelcreation/context.py b/src/pystencils/backend/kernelcreation/context.py index 868a7852caa416ff0dcd83212a2ab0cbf96ebe3c..67d5b1c1deb92e3615eb088024b666b304b13d87 100644 --- a/src/pystencils/backend/kernelcreation/context.py +++ b/src/pystencils/backend/kernelcreation/context.py @@ -52,8 +52,6 @@ class ReductionInfo: op: ReductionOp init_val: PsExpression - - orig_symbol: PsSymbol ptr_symbol: PsSymbol diff --git a/src/pystencils/backend/kernelcreation/freeze.py b/src/pystencils/backend/kernelcreation/freeze.py index c8d84c1b47d0ecd9eecfa7aa0bad14b79459828e..cfa145e5a58fff7d75d84820f928bfa25ebfc3ca 100644 --- a/src/pystencils/backend/kernelcreation/freeze.py +++ b/src/pystencils/backend/kernelcreation/freeze.py @@ -220,7 +220,7 @@ class FreezeExpressions: case _: raise FreezeError(f"Unsupported reduced assignment: {expr.op}.") - reduction_info = ReductionInfo(expr.op, init_val, orig_lhs_symb, orig_lhs_symb_as_ptr) + reduction_info = ReductionInfo(expr.op, init_val, orig_lhs_symb_as_ptr) # add new symbol for local copy, replace original copy with pointer counterpart and add reduction info self._ctx.add_symbol(new_lhs_symb)