Skip to content

Commit 7d0a9a8

Browse files
committed
Roll back changed in dpnp.vander
1 parent 4f584f3 commit 7d0a9a8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dpnp/dpnp_iface_arraycreation.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3498,7 +3498,9 @@ def vander(
34983498
[125, 25, 5, 1]]), Device(level_zero:gpu:0), 'host')
34993499
"""
35003500

3501-
usm_x = dpnp.as_usm_ndarray(
3501+
if dpnp.is_supported_array_type(x):
3502+
x = dpnp.get_usm_ndarray(x)
3503+
usm_x = dpt.asarray(
35023504
x, device=device, usm_type=usm_type, sycl_queue=sycl_queue
35033505
)
35043506

0 commit comments

Comments
 (0)