Skip to content

Commit 8ac67c7

Browse files
committed
Correct typos in _copy_writable
1 parent da413a6 commit 8ac67c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpctl/tensor/_usmarray.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ cdef object _as_zero_dim_ndarray(object usm_ary):
6262

6363
cdef int _copy_writable(int lhs_flags, int rhs_flags):
6464
"Copy the WRITABLE flag to lhs_flags from rhs_flags"
65-
return (lhs_flag & ~USM_ARRAY_WRITABLE) | (rhs_flag & USM_ARRAY_WRITABLE)
65+
return (lhs_flags & ~USM_ARRAY_WRITABLE) | (rhs_flags & USM_ARRAY_WRITABLE)
6666

6767
cdef class usm_ndarray:
6868
""" usm_ndarray(shape, dtype=None, strides=None, buffer="device", \

0 commit comments

Comments
 (0)