Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
waLBerla
waLBerla
Commits
0eddf3f0
Commit
0eddf3f0
authored
May 16, 2021
by
Dominik Thoennes
Browse files
Merge branch 'master' into thoennes/cmake-fixes
parents
f286a9e7
01480896
Pipeline
#32144
passed with stages
in 382 minutes and 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
python/pystencils_walberla/kernel_selection.py
View file @
0eddf3f0
...
...
@@ -108,8 +108,8 @@ class AbstractConditionNode(AbstractKernelSelectionNode):
true_branch_code
=
self
.
branch_true
.
get_code
(
**
kwargs
)
false_branch_code
=
self
.
branch_false
.
get_code
(
**
kwargs
)
true_branch_code
=
do_indent
(
true_branch_code
,
width
=
4
,
indent
first
=
True
)
false_branch_code
=
do_indent
(
false_branch_code
,
width
=
4
,
indent
first
=
True
)
true_branch_code
=
do_indent
(
true_branch_code
,
width
=
4
,
first
=
True
)
false_branch_code
=
do_indent
(
false_branch_code
,
width
=
4
,
first
=
True
)
code
=
f
"if(
{
self
.
condition_text
}
) {{
\n
"
code
+=
true_branch_code
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment