File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
numpy/_core/src/multiarray Expand file tree Collapse file tree 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 *
859859
860860#endif
861861
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
866867#endif
867868static NPY_GCC_OPT_3 int
868869@prefix@_cast_@name1@_to_@name2@(
@@ -957,9 +958,10 @@ static NPY_GCC_OPT_3 int
957958 }
958959 return 0;
959960}
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
963965#endif
964966
965967#undef _CONVERT_FN
You can’t perform that action at this time.
0 commit comments