Skip to content

Commit 0e68eac

Browse files
authored
Merge pull request #389 from jsoref/spelling
Fix several typos
1 parent c01c353 commit 0e68eac

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

array_api_compat/common/_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ def array_namespace(
593593
594594
use_compat: bool or None
595595
If None (the default), the native namespace will be returned if it is
596-
already array API compatible, otherwise a compat wrapper is used. If
596+
already array API compatible; otherwise, a compat wrapper is used. If
597597
True, the compat library wrapped library will be returned. If False,
598598
the native library namespace is returned.
599599

array_api_compat/dask/array/linalg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def qr( # type: ignore[no-redef]
4343
# and dask doesn't have the full_matrices keyword
4444
def svd(x: Array, full_matrices: bool = True, **kwargs: object) -> SVDResult: # type: ignore[no-redef]
4545
if full_matrices:
46-
raise ValueError("full_matrics=True is not supported by dask.")
46+
raise ValueError("full_matrices=True is not supported by dask.")
4747
return da.linalg.svd(x, coerce_signs=False, **kwargs)
4848

4949
def svdvals(x: Array) -> Array:

docs/changelog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ Thomas Li
221221
`xp.__array_namespace_info__()`.
222222
- Various fixes to the `clip()` wrappers.
223223

224-
- `torch.conj` now wrapps `torch.conj_physical`, which makes a copy rather
224+
- `torch.conj` now wraps `torch.conj_physical`, which makes a copy rather
225225
than setting the conjugation bit, as arrays with the conjugation bit set do
226226
not support some APIs.
227227

@@ -298,7 +298,7 @@ Thomas Li
298298

299299
- New flag `use_compat` to {func}`~.array_namespace` to force the use or
300300
non-use of the compat wrapper namespace. The default is to return a compat
301-
namespace when it is appropiate.
301+
namespace when it is appropriate.
302302

303303
- Fix the `copy` flag to `asarray` for NumPy, CuPy, and Dask.
304304

docs/dev/releasing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
This does mean you can ignore CI failures, but ideally you should fix any
2626
failures or update the `*-xfails.txt` files before tagging, so that CI and
27-
the CuPy tests fully pass. Otherwise it will be hard to tell what things are
27+
the CuPy tests fully pass. Otherwise, it will be hard to tell what things are
2828
breaking in the future. It's also a good idea to remove any xpasses from
2929
those files (but be aware that some xfails are from flaky failures, so
3030
unless you know the underlying issue has been fixed, an xpass test is

0 commit comments

Comments
 (0)