Skip to content

Commit

Permalink
Update _array_api.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Illviljan committed Aug 18, 2024
1 parent 05585e3 commit 3ea7332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/namedarray/_array_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def iinfo(type: _dtype | NamedArray[Any, Any], /):
return xp.iinfo(type._data)
else:
xp = _get_namespace_dtype(type)
return xp.finfo(type)
return xp.iinfo(type)


def isdtype(dtype: _dtype, kind: _dtype | str | tuple[_dtype | str, ...]) -> bool:
Expand Down

0 comments on commit 3ea7332

Please sign in to comment.