Skip to content

Commit 2aab77b

Browse files
black voodoo applied
1 parent 15d0364 commit 2aab77b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dpctl/dptensor/numpy_usm_shared.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def _get_usm_base(ary):
6363
else:
6464
return None
6565

66+
6667
class ndarray(np.ndarray):
6768
"""
6869
numpy.ndarray subclass whose underlying memory buffer is allocated
@@ -167,7 +168,7 @@ def _getter_sycl_usm_array_interface_(self):
167168
if usm_iface is None:
168169
raise TypeError
169170

170-
if ary_iface["data"][0] == usm_iface["data"][0]:
171+
if ary_iface["data"][0] == usm_iface["data"][0]:
171172
ary_iface["version"] = usm_iface["version"]
172173
ary_iface["syclobj"] = usm_iface["syclobj"]
173174
else:

0 commit comments

Comments
 (0)