We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a327b6 commit 4570ed1Copy full SHA for 4570ed1
1 file changed
dpnp/dpnp_iface_manipulation.py
@@ -958,8 +958,8 @@ def atleast_1d(*arys):
958
dpnp.check_supported_arrays_type(*arys)
959
for ary in arys:
960
if ary.ndim == 0:
961
- # Scalars cannot be empty
962
- # Scalars always have a size of 1, so
+ # 0-d arrays cannot be empty
+ # 0-d arrays always have a size of 1, so
963
# reshape(1) is guaranteed to succeed
964
result = ary.reshape(1)
965
else:
0 commit comments