File tree 1 file changed +9
-7
lines changed
numpy/_core/src/multiarray 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -859,10 +859,11 @@ NPY_NO_EXPORT PyArrayMethod_StridedLoop *
859
859
860
860
#endif
861
861
862
- #if (@is_native_half1@ || @is_float1@ || @is_double1@) && \
863
- (@is_native_half2@ || @is_float2@ || @is_double2@)
864
- // Enable Vectorization on Clang for floating point casts
865
- NPY_IGNORE_FP_EXCEPTIONS_ON
862
+ #if @is_native_half1@ || @is_float1@ || @is_double1@
863
+ #if @is_native_half2@ || @is_float2@ || @is_double2@
864
+ // Enable Vectorization on Clang for floating point casts
865
+ NPY_IGNORE_FP_EXCEPTIONS_ON
866
+ #endif
866
867
#endif
867
868
static NPY_GCC_OPT_3 int
868
869
@prefix@_cast_@name1@_to_@name2@(
@@ -957,9 +958,10 @@ static NPY_GCC_OPT_3 int
957
958
}
958
959
return 0;
959
960
}
960
- #if (@is_native_half1@ || @is_float1@ || @is_double1@) && \
961
- (@is_native_half2@ || @is_float2@ || @is_double2@)
962
- NPY_IGNORE_FP_EXCEPTIONS_OFF
961
+ #if @is_native_half1@ || @is_float1@ || @is_double1@
962
+ #if @is_native_half2@ || @is_float2@ || @is_double2@
963
+ NPY_IGNORE_FP_EXCEPTIONS_OFF
964
+ #endif
963
965
#endif
964
966
965
967
#undef _CONVERT_FN
You can’t perform that action at this time.
0 commit comments