diff options
author | acxz <5379597-acxz@users.noreply.gitlab.com> | 2020-10-12 20:24:15 -0400 |
---|---|---|
committer | acxz <17132214+acxz@users.noreply.github.com> | 2020-10-12 20:28:56 -0400 |
commit | 807e51528d220c0efed870f0505dea81a5776085 (patch) | |
tree | f3368f25db5b786106d23180dd4dfdba0f5fa0ac | |
parent | 9a4d04c05fbaad6e6de750b13cfeab9edeb71c90 (diff) |
undefine EIGEN_CONSTEXPR before redefinition
-rw-r--r-- | Eigen/src/Core/arch/Default/Half.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |