Skip to content
Open
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_strict/_elementwise_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def clip(
isinstance(arg, Array) and arg.dtype in _real_floating_dtypes)):
raise TypeError(f"{argname} must be integral when x is integral")
if (x.dtype in _real_floating_dtypes
and (isinstance(arg, int) or
and (#isinstance(arg, int) or
isinstance(arg, Array) and arg.dtype in _integer_dtypes)):
raise TypeError(f"{arg} must be floating-point when x is floating-point")

Expand Down
Loading