diff --git a/Eigen/Core b/Eigen/Core index 29b3a2ac1..da8eb9953 100644 --- a/Eigen/Core +++ b/Eigen/Core @@ -157,7 +157,9 @@ #include #if !EIGEN_SAFE_TO_USE_STANDARD_ASSERT_MACRO -#include // for custom assert implementation + #ifndef EIGEN_NO_DEBUG + #include // for custom assert implementation + #endif #endif // for outputting debug info