diff --git a/arrayfire_wrapper/lib/create_and_modify_array/move_and_reorder.py b/arrayfire_wrapper/lib/create_and_modify_array/move_and_reorder.py index 240412d..620ff6f 100644 --- a/arrayfire_wrapper/lib/create_and_modify_array/move_and_reorder.py +++ b/arrayfire_wrapper/lib/create_and_modify_array/move_and_reorder.py @@ -101,7 +101,7 @@ def select_scalar_r(lhs: AFArray, cond_arr: AFArray, rhs: int | float, /) -> AFA source: https://arrayfire.org/docs/group__data__func__select.htm#gac4af16e31ddd5ddcf09b670f676fd093 """ out = AFArray.create_null_pointer() - call_from_clib(select_scalar_l.__name__, ctypes.pointer(out), cond_arr, lhs, ctypes.c_double(rhs)) + call_from_clib(select_scalar_r.__name__, ctypes.pointer(out), cond_arr, lhs, ctypes.c_double(rhs)) return out