Skip to content

Commit 422bfff

Browse files
committed
Fix typo in nan_to_num
1 parent 0d50ee0 commit 422bfff

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

31623162
_manager.add_event_pair(h_ev, comp_ev)
31633163

3164-
return dpnp.get_result_array(out_ary) if copy else x
3164+
return dpnp.get_result_array(out) if copy else x
31653165

31663166

31673167
_NEGATIVE_DOCSTRING = """

0 commit comments

Comments
 (0)