mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
undefine EIGEN_CONSTEXPR before redefinition
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user