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

fix a minor bug

parent d61a7c0c
No related branches found
No related tags found
No related merge requests found
Pipeline #61346 failed
...@@ -200,7 +200,7 @@ def get_archetype_field( ...@@ -200,7 +200,7 @@ def get_archetype_field(
raise KernelConstraintsError( raise KernelConstraintsError(
"Cannot mix fixed- and variable-shape fields." "Cannot mix fixed- and variable-shape fields."
) )
if len(fixed_shapes) != 0: if len(fixed_shapes) > 1:
raise KernelConstraintsError( raise KernelConstraintsError(
"Fixed-shape fields of different sizes encountered." "Fixed-shape fields of different sizes encountered."
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment