Skip to content

Commit 04d194c

Browse files
committed
Fix pre commit
1 parent aa2ea40 commit 04d194c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

dpctl/tensor/_ctors.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,7 @@ def _asarray_from_numpy_ndarray(
246246
order=order,
247247
buffer_ctor_kwargs={"queue": copy_q},
248248
)
249-
ti._copy_numpy_ndarray_into_usm_ndarray(
250-
src=ary, dst=res, sycl_queue=copy_q
251-
)
249+
ti._copy_numpy_ndarray_into_usm_ndarray(src=ary, dst=res, sycl_queue=copy_q)
252250
return res
253251

254252

dpctl/tests/test_usm_ndarray_ctor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1459,6 +1459,7 @@ def test_flags():
14591459
# check comparison with generic types
14601460
f == Ellipsis
14611461

1462+
14621463
def test_asarray_uint64():
14631464
Xnp = np.ndarray(1, dtype=np.uint64)
14641465
X = dpt.asarray(Xnp)

0 commit comments

Comments
 (0)