Skip to content

Commit 4570ed1

Browse files
Review comments
1 parent 7a327b6 commit 4570ed1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dpnp/dpnp_iface_manipulation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -958,8 +958,8 @@ def atleast_1d(*arys):
958958
dpnp.check_supported_arrays_type(*arys)
959959
for ary in arys:
960960
if ary.ndim == 0:
961-
# Scalars cannot be empty
962-
# Scalars always have a size of 1, so
961+
# 0-d arrays cannot be empty
962+
# 0-d arrays always have a size of 1, so
963963
# reshape(1) is guaranteed to succeed
964964
result = ary.reshape(1)
965965
else:

0 commit comments

Comments
 (0)