From 807e51528d220c0efed870f0505dea81a5776085 Mon Sep 17 00:00:00 2001 From: acxz <5379597-acxz@users.noreply.gitlab.com> Date: Mon, 12 Oct 2020 20:24:15 -0400 Subject: undefine EIGEN_CONSTEXPR before redefinition --- Eigen/src/Core/arch/Default/Half.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Eigen/src/Core/arch/Default/Half.h b/Eigen/src/Core/arch/Default/Half.h index e4c3eefac..95ff9da17 100644 --- a/Eigen/src/Core/arch/Default/Half.h +++ b/Eigen/src/Core/arch/Default/Half.h @@ -53,6 +53,7 @@ // GPU support. Hence the need to disable EIGEN_CONSTEXPR when building // Eigen with GPU support #pragma push_macro("EIGEN_CONSTEXPR") + #undef EIGEN_CONSTEXPR #define EIGEN_CONSTEXPR #endif -- cgit v1.2.3