Skip to content

Commit 0dfc12c

Browse files
committed
Fixed incorrect call to select_scalar_l
1 parent 983500e commit 0dfc12c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arrayfire_wrapper/lib/create_and_modify_array/move_and_reorder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def select_scalar_r(lhs: AFArray, cond_arr: AFArray, rhs: int | float, /) -> AFA
101101
source: https://arrayfire.org/docs/group__data__func__select.htm#gac4af16e31ddd5ddcf09b670f676fd093
102102
"""
103103
out = AFArray.create_null_pointer()
104-
call_from_clib(select_scalar_l.__name__, ctypes.pointer(out), cond_arr, lhs, ctypes.c_double(rhs))
104+
call_from_clib(select_scalar_r.__name__, ctypes.pointer(out), cond_arr, lhs, ctypes.c_double(rhs))
105105
return out
106106

107107

0 commit comments

Comments
 (0)