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
01480896
Commit
01480896
authored
May 16, 2021
by
Markus Holzer
Browse files
Merge branch 'jinja2' into 'master'
Jinja2 3.0 compatibility See merge request
!453
parents
15593580
55b71237
Pipeline
#32145
passed with stages
in 542 minutes and 42 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
python/pystencils_walberla/kernel_selection.py
View file @
01480896
...
...
@@ -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