Skip to content

Commit

Permalink
Update change log
Browse files Browse the repository at this point in the history
  • Loading branch information
adityagoel4512 committed Aug 26, 2024
1 parent d64e966 commit f89fe11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Changelog

**New features**

- User defined data types can now define how arrays with that dtype are constructed by implementing the :func:`make_array` function.
- User defined data types can now define how they are indexed (via `__getitem__`) by implementing the :func:`getitem` function.
- User defined data types can now define how arrays with that dtype are constructed by implementing the ``make_array`` function.
- User defined data types can now define how they are indexed (via ``__getitem__``) by implementing the ``getitem`` function.

**Bug fixes**

Expand Down
2 changes: 1 addition & 1 deletion ndonnx/additional/_additional.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def _getitem(x: Array, index: IndexType) -> ndx.Array:
out = x.dtype._ops.getitem(x, index)
if out is NotImplemented:
raise ndx.UnsupportedOperationError(
f"`getitem` not implemented for `{x.dtype}`"
f"'getitem' not implemented for `{x.dtype}`"
)
return out

Expand Down

0 comments on commit f89fe11

Please sign in to comment.