aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Eigen/LeastSquares5
-rw-r--r--doc/Doxyfile.in3
2 files changed, 7 insertions, 1 deletions
diff --git a/Eigen/LeastSquares b/Eigen/LeastSquares
index 6c51bf391..93a6302dc 100644
--- a/Eigen/LeastSquares
+++ b/Eigen/LeastSquares
@@ -5,6 +5,9 @@
#error LeastSquares is only available in Eigen2 support mode (define EIGEN2_SUPPORT)
#endif
+// exclude from normal eigen3-only documentation
+#ifdef EIGEN2_SUPPORT
+
#include "Core"
#include "src/Core/util/DisableStupidWarnings.h"
@@ -28,4 +31,6 @@ namespace Eigen {
#include "src/Core/util/ReenableStupidWarnings.h"
+#endif // EIGEN2_SUPPORT
+
#endif // EIGEN_REGRESSION_MODULE_H
diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in
index 6f132412d..d9f5f6d91 100644
--- a/doc/Doxyfile.in
+++ b/doc/Doxyfile.in
@@ -1213,7 +1213,8 @@ PREDEFINED = EIGEN_EMPTY_STRUCT \
EIGEN_PARSED_BY_DOXYGEN \
EIGEN_VECTORIZE \
EIGEN_QT_SUPPORT \
- EIGEN_STRONG_INLINE=inline
+ EIGEN_STRONG_INLINE=inline \
+ EIGEN2_SUPPORT_STAGE=99
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
# this tag can be used to specify a list of macro names that should be expanded.