Skip to content

Commit d5a6b67

Browse files
authored
Update array_api_strict/_array_object.py
1 parent 46e4236 commit d5a6b67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

array_api_strict/_array_object.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def _check_allowed_dtypes(
233233

234234
return other
235235

236-
def _check_device(self, other: Array | complex) -> None:
236+
def _check_type_device(self, other: Array | complex) -> None:
237237
"""Check that other is either a Python scalar or an array on a device
238238
compatible with the current array.
239239
"""

0 commit comments

Comments
 (0)