Skip to content

Commit

Permalink
Copy/editing
Browse files Browse the repository at this point in the history
Co-authored-by: Tom White <tom.e.white@gmail.com>
  • Loading branch information
alxmrs and tomwhite authored Jan 24, 2025
1 parent 046a766 commit 756c511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cubed/array_api/dtypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def _validate_and_define_dtype(x, dtype=None, *, allowed_dtypes=("numeric",), fn
elif x.dtype in _signed_integer_dtypes:
dtype = dtypes["integral"]
elif x.dtype in _unsigned_integer_dtypes:
# Type arithemetic to produce an unsinged integer dtype at the same default precision.
# Type arithmetic to produce an unsigned integer dtype at the same default precision.
dtype = nxp.dtype(dtypes["integral"].str.replace("i", "u"))
elif x.dtype == _complex_floating_dtypes:
dtype = dtypes["complex floating"]
Expand Down

0 comments on commit 756c511

Please # to comment.