Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion array_api_compat/common/_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ def is_lazy_array(x: object) -> TypeGuard[_ArrayApiObj]:
try:
bool(x)
return False
# The Array API standard dictactes that __bool__ should raise TypeError if the
# The Array API standard dictates that __bool__ should raise TypeError if the
# output cannot be defined.
# Here we allow for it to raise arbitrary exceptions, e.g. like Dask does.
except Exception:
Expand Down
2 changes: 1 addition & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ Thomas Li
than setting the conjugation bit, as arrays with the conjugation bit set do
not support some APIs.

- `torch.sign` is now wrapped to support complex numbers and propogate nans
- `torch.sign` is now wrapped to support complex numbers and propagate nans
properly.

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion torch-xfails.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Indexing does not support negative step
array_api_tests/test_array_object.py::test_getitem
array_api_tests/test_array_object.py::test_setitem
# Masking doesn't suport 0 dimensions in the mask
# Masking doesn't support 0 dimensions in the mask
array_api_tests/test_array_object.py::test_getitem_masking

# Overflow error from large inputs
Expand Down
Loading