Skip to content
Snippets Groups Projects
Commit 0eddf3f0 authored by Dominik Thoennes's avatar Dominik Thoennes
Browse files

Merge branch 'master' into thoennes/cmake-fixes

parents f286a9e7 01480896
Branches
No related tags found
No related merge requests found
...@@ -108,8 +108,8 @@ class AbstractConditionNode(AbstractKernelSelectionNode): ...@@ -108,8 +108,8 @@ class AbstractConditionNode(AbstractKernelSelectionNode):
true_branch_code = self.branch_true.get_code(**kwargs) true_branch_code = self.branch_true.get_code(**kwargs)
false_branch_code = self.branch_false.get_code(**kwargs) false_branch_code = self.branch_false.get_code(**kwargs)
true_branch_code = do_indent(true_branch_code, width=4, indentfirst=True) true_branch_code = do_indent(true_branch_code, width=4, first=True)
false_branch_code = do_indent(false_branch_code, width=4, indentfirst=True) false_branch_code = do_indent(false_branch_code, width=4, first=True)
code = f"if({self.condition_text}) {{\n" code = f"if({self.condition_text}) {{\n"
code += true_branch_code code += true_branch_code
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment