Skip to content
Snippets Groups Projects
Commit dc647c31 authored by Frederik Hennig's avatar Frederik Hennig
Browse files

fixed code style

parent 5360c823
Branches
Tags
No related merge requests found
Pipeline #57467 failed with stages
in 1 minute and 8 seconds
......@@ -89,7 +89,7 @@ def mdspan_ref(field: Field, extents_type: type = np.uint32):
if field.layout != layout_string_to_tuple("soa", field.spatial_dimensions):
raise NotImplementedError("mdspan mapping is currently only available for structure-of-arrays fields")
extents : list[str | int] = []
extents: list[str | int] = []
for s in field.spatial_shape:
extents.append(StdMdspan.dynamic_extent if isinstance(s, FieldShapeSymbol) else cast(int, s))
......
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