Commit 7d77f19b authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Allow `CUSTOM_FIELD`s to have a different size in transformations.py

parent f9ba7391
Pipeline #20554 passed with stage
in 2 minutes and 17 seconds
......@@ -168,7 +168,7 @@ def make_loop_over_domain(body, iteration_slice=None, ghost_layers=None, loop_or
field_accesses = {e for e in field_accesses if not e.is_absolute_access}
# exclude accesses to buffers from field_list, because buffers are treated separately
field_list = [e.field for e in field_accesses if not FieldType.is_buffer(e.field)]
field_list = [e.field for e in field_accesses if not (FieldType.is_buffer(e.field) or FieldType.is_custom(e.field))]
fields = set(field_list)
if loop_order is None:
......
Markdown is supported
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