Skip to content

Commit c8dbb99

Browse files
committed
Fixes another case of all name conflict
1 parent 55bc7e0 commit c8dbb99

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dpctl/tensor/_utility_functions.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,9 @@ def _concat_diff_input(arr, axis, prepend, append):
260260
arr_dtype = arr.dtype
261261
prepend_dtype = _get_dtype(prepend, sycl_dev)
262262
append_dtype = _get_dtype(append, sycl_dev)
263-
if not all(_validate_dtype(o) for o in (prepend_dtype, append_dtype)):
263+
if not builtins.all(
264+
_validate_dtype(o) for o in (prepend_dtype, append_dtype)
265+
):
264266
raise ValueError("Operands have unsupported data types")
265267
prepend_dtype, append_dtype = _resolve_one_strong_two_weak_types(
266268
arr_dtype, prepend_dtype, append_dtype, sycl_dev

0 commit comments

Comments
 (0)