Fix pragma check for disabling fastmath.

(cherry picked from commit c27d1abe460c32a432e1f019be17f2c0f876ccac)
This commit is contained in:
Antonio Sánchez 2022-10-26 22:50:57 +00:00 committed by Antonio Sanchez
parent 15e23ab849
commit 4786edba26

View File

@ -35,7 +35,7 @@
#ifndef EIGEN_INVERSE_SIZE_4_H #ifndef EIGEN_INVERSE_SIZE_4_H
#define EIGEN_INVERSE_SIZE_4_H #define EIGEN_INVERSE_SIZE_4_H
#if !EIGEN_COMP_LLVM #if EIGEN_COMP_GNUC_STRICT
// These routines requires bit manipulation of the sign, which is not compatible // These routines requires bit manipulation of the sign, which is not compatible
// with fastmath. // with fastmath.
#pragma GCC push_options #pragma GCC push_options
@ -356,7 +356,7 @@ struct compute_inverse_size4<Architecture::Target, double, MatrixType, ResultTyp
} // namespace internal } // namespace internal
} // namespace Eigen } // namespace Eigen
#if !EIGEN_COMP_LLVM #if EIGEN_COMP_GNUC_STRICT
#pragma GCC pop_options #pragma GCC pop_options
#endif #endif