Skip to content

Commit 6db8b11

Browse files
committed
wip
1 parent 931faae commit 6db8b11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

array_api_compat/common/_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def _is_jax_zero_gradient_array(x: object) -> TypeGuard[_ZeroGradientArray]:
8080
"""
8181
# Fast exit
8282
try:
83-
dtype = x.dtype
83+
dtype = x.dtype # type: ignore[attr-defined]
8484
except AttributeError:
8585
return False
8686
if not _issubclass_fast(type(dtype), "numpy.dtypes", "VoidDType"):

0 commit comments

Comments
 (0)