aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2017-02-10 13:35:10 -0800
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2017-02-10 13:35:10 -0800
commit1ef30b8090ad56bac5d1b0553a2b0a894a77405e (patch)
treeda33efdafebbbde325221c7f383e70d989f3fc1e /Eigen
parent8b3cc54c42d6f2cc7db6f2a56da0e6510782b747 (diff)
Fixed bug introduced in previous commit
Diffstat (limited to 'Eigen')
-rw-r--r--Eigen/src/plugins/IndexedViewMethods.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Eigen/src/plugins/IndexedViewMethods.h b/Eigen/src/plugins/IndexedViewMethods.h
index 5e28ec71c..81e463623 100644
--- a/Eigen/src/plugins/IndexedViewMethods.h
+++ b/Eigen/src/plugins/IndexedViewMethods.h
@@ -7,7 +7,8 @@
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#if !defined(EIGEN_PARSED_BY_DOXYGEN) && EIGEN_HAS_INDEXED_VIEW
+#if EIGEN_HAS_INDEXED_VIEW
+#if !defined(EIGEN_PARSED_BY_DOXYGEN)
// This file is automatically included twice to generate const and non-const versions
@@ -256,4 +257,5 @@ template<typename Indices>
IndexedView_or_VectorBlock
operator()(const Indices& indices);
-#endif // EIGEN_PARSED_BY_DOXYGEN && EIGEN_HAS_INDEXED_VIEW
+#endif // EIGEN_PARSED_BY_DOXYGEN
+#endif // EIGEN_HAS_INDEXED_VIEW