From 0dfc12cb3aa3b4d8a33a31474436141884afc197 Mon Sep 17 00:00:00 2001 From: Edwin Solis Date: Sun, 8 Jun 2025 18:21:47 -0700 Subject: [PATCH] Fixed incorrect call to select_scalar_l --- .../lib/create_and_modify_array/move_and_reorder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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