Skip to content
Snippets Groups Projects
Commit 081d11ad authored by Richard Angersbach's avatar Richard Angersbach
Browse files

Fix indent for error handling in freeze

parent dae36dd6
No related branches found
No related tags found
1 merge request!438Reduction Support
...@@ -200,11 +200,11 @@ class FreezeExpressions: ...@@ -200,11 +200,11 @@ class FreezeExpressions:
f"Different reduction operation {info.op} already exists " f"Different reduction operation {info.op} already exists "
f"for {expr.lhs} with target reduction op {expr.reduction_op}." f"for {expr.lhs} with target reduction op {expr.reduction_op}."
) )
else: else:
raise FreezeError( raise FreezeError(
f"Left-hand side {expr.lhs} of ReductionAssignment already exists in symbol table." f"Left-hand side {expr.lhs} of ReductionAssignment already exists in symbol table."
f"Make sure that it is exclusively used within the kernel to conduct ReductionAssignment's." f"Make sure that it is exclusively used within the kernel to conduct ReductionAssignment's."
) )
lhs = self.visit(expr.lhs) lhs = self.visit(expr.lhs)
rhs = self.visit(expr.rhs) rhs = self.visit(expr.rhs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment