Skip to content
Snippets Groups Projects
Commit 693f5bd1 authored by Martin Bauer's avatar Martin Bauer
Browse files

Fix for inplace kernels

parent 56b1821c
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,7 @@ def create_lbm_kernel(collision_rule, input_field, output_field, accessor): ...@@ -49,7 +49,7 @@ def create_lbm_kernel(collision_rule, input_field, output_field, accessor):
result.simplification_hints['split_groups'] = new_split_groups result.simplification_hints['split_groups'] = new_split_groups
if accessor.is_inplace: if accessor.is_inplace:
result = add_subexpressions_for_field_reads(result, subexpressions=False, main_assignments=True) result = add_subexpressions_for_field_reads(result, subexpressions=True, main_assignments=True)
return result return result
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment