Skip to content

Commit

Permalink
#1351 Metadata check for function spaces fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oakleybrunt committed Jul 31, 2024
1 parent b7eb496 commit a50c84f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/psyclone/domain/lfric/lfric_kern_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ def _validate_operates_on_dof(self, need_evaluator):
# list out all function spaces
arg_fs_names = []
for arg in self._arg_descriptors:
arg_fs_names.append(arg.function_spaces)
arg_fs_names.extend(arg.function_spaces)
# dof kernels should only have one function space so a set of fs
# names should be of length 1
if len(set(arg_fs_names)) > 1:
Expand Down

0 comments on commit a50c84f

Please sign in to comment.