From ea7d8721818e6b83b80f1666da4d94d471b26816 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Sun, 27 Feb 2011 17:43:10 -0500 Subject: documentation fixes --- Eigen/LeastSquares | 5 +++++ doc/Doxyfile.in | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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. -- cgit v1.2.3