undefine EIGEN_CONSTEXPR before redefinition

This commit is contained in:
acxz 2020-10-12 20:24:15 -04:00 committed by acxz
parent 9a4d04c05f
commit 807e51528d

View File

@ -53,6 +53,7 @@
// GPU support. Hence the need to disable EIGEN_CONSTEXPR when building // GPU support. Hence the need to disable EIGEN_CONSTEXPR when building
// Eigen with GPU support // Eigen with GPU support
#pragma push_macro("EIGEN_CONSTEXPR") #pragma push_macro("EIGEN_CONSTEXPR")
#undef EIGEN_CONSTEXPR
#define EIGEN_CONSTEXPR #define EIGEN_CONSTEXPR
#endif #endif