Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
adityagoel4512 committed Jul 1, 2024
1 parent 6b95e44 commit 9102b4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Changelog
**Other changes**

- ndonnx now exports type annotations.
- ``__array_namespace__`` now accepts an optional ``api_version`` argument to specify the version of the Array API to use.

0.4.0 (2024-05-16)
------------------
Expand Down
2 changes: 1 addition & 1 deletion ndonnx/_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def __array_namespace__(*, api_version: str | None = None):
if api_version is None:
api_version = "2023.12"

if api_version == "2022.12":
if api_version == "2023.12":
return ndx
else:
raise ValueError(f"Unsupported API version {api_version}")
Expand Down

0 comments on commit 9102b4f

Please sign in to comment.