Fix pragma check for disabling fastmath.

(cherry picked from commit c27d1abe46)
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
#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
// with fastmath.
#pragma GCC push_options
@@ -356,7 +356,7 @@ struct compute_inverse_size4<Architecture::Target, double, MatrixType, ResultTyp
} // namespace internal
} // namespace Eigen
#if !EIGEN_COMP_LLVM
#if EIGEN_COMP_GNUC_STRICT
#pragma GCC pop_options
#endif