Skip to content

Commit c856c25

Browse files
committed
Always return a tuple for instance of DPNPUnaryTwoOutputsFunc class
1 parent 62e2bfd commit c856c25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpnp/dpnp_algo/dpnp_elementwise_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ def __call__(
428428
if not isinstance(res, dpnp_array):
429429
# Always return dpnp.ndarray
430430
out[i] = dpnp_array._create_from_usm_ndarray(res)
431-
return out
431+
return tuple(out)
432432

433433

434434
class DPNPBinaryFunc(BinaryElementwiseFunc):

0 commit comments

Comments
 (0)