From dc647c3176efe0695a9da5fcb329f61b43212d0f Mon Sep 17 00:00:00 2001 From: Frederik Hennig <frederik.hennig@fau.de> Date: Wed, 22 Nov 2023 15:15:31 +0900 Subject: [PATCH] fixed code style --- src/pystencilssfg/source_concepts/cpp/std_mdspan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pystencilssfg/source_concepts/cpp/std_mdspan.py b/src/pystencilssfg/source_concepts/cpp/std_mdspan.py index 70eeb8a..0bf1b82 100644 --- a/src/pystencilssfg/source_concepts/cpp/std_mdspan.py +++ b/src/pystencilssfg/source_concepts/cpp/std_mdspan.py @@ -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)) -- GitLab