Skip to content

Commit

Permalink
Merge #231
Browse files Browse the repository at this point in the history
  • Loading branch information
crusaderky committed Jan 14, 2025
1 parent a3412e4 commit de95390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion array_api_compat/common/_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ def is_lazy_array(x) -> bool:

# Select a single point of the array
s = size(x)
if s is None or math.isnan(s):
if s is None:
return True
xp = array_namespace(x)
if s > 1:
Expand Down

0 comments on commit de95390

Please sign in to comment.