From 3e71c621c9669a89e067bef52433deaac06e3b99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20S=C3=A1nchez?= Date: Tue, 18 Jan 2022 16:08:37 +0000 Subject: [PATCH] Revert "fix compilation issue with gcc < 10 and -std=c++2a" This reverts commit b5d218d8574c665d7d4ac3ac21f7bf15b8dabbfa --- Eigen/src/Core/util/Meta.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Core/util/Meta.h b/Eigen/src/Core/util/Meta.h index b67f50d0e..0e21fe37f 100755 --- a/Eigen/src/Core/util/Meta.h +++ b/Eigen/src/Core/util/Meta.h @@ -477,7 +477,7 @@ template struct array_size > { * * For C++20, this function just forwards to `std::ssize`, or any ADL discoverable `ssize` function. */ -#if EIGEN_COMP_CXXVER < 20 || EIGEN_GNUC_AT_MOST(9,4) +#if EIGEN_COMP_CXXVER < 20 template EIGEN_CONSTEXPR auto index_list_size(const T& x) { using R = std::common_type_t>;