Skip to content

Commit

Permalink
Support array formats
Browse files Browse the repository at this point in the history
  • Loading branch information
sandorkertesz committed Jan 24, 2025
1 parent eabe951 commit 646e537
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/earthkit/meteo/utils/array.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ def namespace(self, arrays):
if isinstance(arrays[0], np.ndarray):
return np
else:
raise ValueError(
"Can't find namespace for array. Please install array_api_compat package"
)
raise ValueError("Can't find namespace for array. Please install array_api_compat package")


def array_namespace(*args):
Expand Down

0 comments on commit 646e537

Please sign in to comment.