diff --git a/arrayfire_wrapper/lib/mathematical_functions/numeric_functions.py b/arrayfire_wrapper/lib/mathematical_functions/numeric_functions.py index 7cbb00c..b2860ab 100644 --- a/arrayfire_wrapper/lib/mathematical_functions/numeric_functions.py +++ b/arrayfire_wrapper/lib/mathematical_functions/numeric_functions.py @@ -1,5 +1,7 @@ import ctypes +import arrayfire_wrapper.dtypes as dtype +import arrayfire_wrapper.lib as wrapper from arrayfire_wrapper.defines import AFArray from arrayfire_wrapper.dtypes import float32 from arrayfire_wrapper.lib._utility import binary_op, call_from_clib, unary_op @@ -7,10 +9,6 @@ from arrayfire_wrapper.lib.mathematical_functions.arithmetic_operations import sub -import arrayfire_wrapper.dtypes as dtype -import arrayfire_wrapper.lib as wrapper - - def abs_(arr: AFArray, /) -> AFArray: """ source: https://arrayfire.org/docs/group__arith__func__abs.htm#ga7e8b3c848e6cda3d1f3b0c8b2b4c3f8f diff --git a/tests/test_numeric.py b/tests/test_numeric.py index 46715f0..26847de 100644 --- a/tests/test_numeric.py +++ b/tests/test_numeric.py @@ -5,7 +5,7 @@ import arrayfire_wrapper.dtypes as dtype import arrayfire_wrapper.lib as wrapper -from tests.utility_functions import check_type_supported, get_all_types, get_real_types, get_complex_types +from tests.utility_functions import check_type_supported, get_all_types, get_complex_types, get_real_types @pytest.mark.parametrize(