Skip to content

Commit de95390

Browse files
committed
Merge #231
1 parent a3412e4 commit de95390

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: array_api_compat/common/_helpers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ def is_lazy_array(x) -> bool:
863863

864864
# Select a single point of the array
865865
s = size(x)
866-
if s is None or math.isnan(s):
866+
if s is None:
867867
return True
868868
xp = array_namespace(x)
869869
if s > 1:

0 commit comments

Comments
 (0)