Skip to content

Commit 3ed9891

Browse files
committed
Fix typo in nan_to_num
1 parent 0586703 commit 3ed9891

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
@@ -3165,7 +3165,7 @@ def nan_to_num(x, copy=True, nan=0.0, posinf=None, neginf=None):
31653165

31663166
_manager.add_event_pair(h_ev, comp_ev)
31673167

3168-
return dpnp.get_result_array(out_ary) if copy else x
3168+
return dpnp.get_result_array(out) if copy else x
31693169

31703170

31713171
_NEGATIVE_DOCSTRING = """

0 commit comments

Comments
 (0)