@@ -19,7 +19,7 @@ def all_true_all(arr: AFArray, /) -> complex:
1919    """ 
2020    real  =  ctypes .c_double (0 )
2121    imag  =  ctypes .c_double (0 )
22-     call_from_clib (all_true .__name__ , ctypes .pointer (real ), ctypes .pointer (imag ), arr )
22+     call_from_clib (all_true_all .__name__ , ctypes .pointer (real ), ctypes .pointer (imag ), arr )
2323    return  real .value  if  imag .value  ==  0  else  real .value  +  imag .value  *  1j 
2424
2525
@@ -40,7 +40,7 @@ def any_true(arr: AFArray, dim: int, /) -> AFArray:
4040    source: https://arrayfire.org/docs/group__reduce__func__any__true.htm#ga7c275cda2cfc8eb0bd20ea86472ca0d5 
4141    """ 
4242    out  =  AFArray .create_null_pointer ()
43-     call_from_clib (all_true .__name__ , ctypes .pointer (out ), arr , dim )
43+     call_from_clib (any_true .__name__ , ctypes .pointer (out ), arr , dim )
4444    return  out 
4545
4646
@@ -50,7 +50,7 @@ def any_true_all(arr: AFArray, /) -> int | float | bool | complex:
5050    """ 
5151    real  =  ctypes .c_double (0 )
5252    imag  =  ctypes .c_double (0 )
53-     call_from_clib (all_true .__name__ , ctypes .pointer (real ), ctypes .pointer (imag ), arr )
53+     call_from_clib (any_true_all .__name__ , ctypes .pointer (real ), ctypes .pointer (imag ), arr )
5454    return  real .value  if  imag .value  ==  0  else  real .value  +  imag .value  *  1j 
5555
5656
0 commit comments