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

Fix for inplace kernels

parent 56b1821c
Branches
Tags
No related merge requests found
......@@ -49,7 +49,7 @@ def create_lbm_kernel(collision_rule, input_field, output_field, accessor):
result.simplification_hints['split_groups'] = new_split_groups
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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment