mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix compilation failures on constexpr matrices with GCC 14
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
99adca8b34
commit
c4d84dfddc
@@ -7,6 +7,7 @@
|
||||
// Public License v. 2.0. If a copy of the MPL was not distributed
|
||||
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
#define EIGEN_TESTING_CONSTEXPR
|
||||
#include "main.h"
|
||||
|
||||
EIGEN_DECLARE_TEST(constexpr) {
|
||||
|
||||
@@ -336,7 +336,9 @@ static std::vector<std::string> eigen_assert_list;
|
||||
|
||||
#endif // EIGEN_NO_ASSERTION_CHECKING
|
||||
|
||||
#ifndef EIGEN_TESTING_CONSTEXPR
|
||||
#define EIGEN_INTERNAL_DEBUGGING
|
||||
#endif
|
||||
#include <Eigen/QR> // required for createRandomPIMatrixOfRank and generateRandomMatrixSvs
|
||||
|
||||
inline void verify_impl(bool condition, const char* testname, const char* file, int line,
|
||||
|
||||
Reference in New Issue
Block a user