Skip to content

Commit 3595e54

Browse files
committed
Fix typo in nan_to_num
1 parent 28e847b commit 3595e54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpnp/dpnp_iface_mathematical.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3157,7 +3157,7 @@ def nan_to_num(x, copy=True, nan=0.0, posinf=None, neginf=None):
31573157

31583158
_manager.add_event_pair(h_ev, comp_ev)
31593159

3160-
return dpnp.get_result_array(out_ary) if copy else x
3160+
return dpnp.get_result_array(out) if copy else x
31613161

31623162

31633163
_NEGATIVE_DOCSTRING = """

0 commit comments

Comments
 (0)