two compilation fixes
diff --git a/CMakeLists.txt b/CMakeLists.txt index f304401..c534a0f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -78,7 +78,7 @@ option(EIGEN_TEST_NO_EXPLICIT_VECTORIZATION "Disable explicit vectorization in tests/examples" OFF) if(EIGEN_TEST_NO_EXPLICIT_VECTORIZATION) - add_definitions(EIGEN_DONT_VECTORIZE=1) + add_definitions(-DEIGEN_DONT_VECTORIZE=1) message("Disabling vectorization in tests/examples") endif(EIGEN_TEST_NO_EXPLICIT_VECTORIZATION)
diff --git a/Eigen/src/Sparse/SparseFlagged.h b/Eigen/src/Sparse/SparseFlagged.h index 2edac9c..c47e162 100644 --- a/Eigen/src/Sparse/SparseFlagged.h +++ b/Eigen/src/Sparse/SparseFlagged.h
@@ -43,7 +43,6 @@ typedef typename ei_meta_if<ei_must_nest_by_value<ExpressionType>::ret, ExpressionType, const ExpressionType&>::ret ExpressionTypeNested; - typedef typename ExpressionType::InnerIterator InnerIterator; inline SparseFlagged(const ExpressionType& matrix) : m_matrix(matrix) {}