two compilation fixes

This commit is contained in:
Gael Guennebaud 2009-01-15 08:26:40 +00:00
parent 2d53466fa9
commit 4f33fbfc07
2 changed files with 1 additions and 2 deletions

View File

@ -78,7 +78,7 @@ endif(MSVC)
option(EIGEN_TEST_NO_EXPLICIT_VECTORIZATION "Disable explicit vectorization in tests/examples" OFF) option(EIGEN_TEST_NO_EXPLICIT_VECTORIZATION "Disable explicit vectorization in tests/examples" OFF)
if(EIGEN_TEST_NO_EXPLICIT_VECTORIZATION) if(EIGEN_TEST_NO_EXPLICIT_VECTORIZATION)
add_definitions(EIGEN_DONT_VECTORIZE=1) add_definitions(-DEIGEN_DONT_VECTORIZE=1)
message("Disabling vectorization in tests/examples") message("Disabling vectorization in tests/examples")
endif(EIGEN_TEST_NO_EXPLICIT_VECTORIZATION) endif(EIGEN_TEST_NO_EXPLICIT_VECTORIZATION)

View File

@ -43,7 +43,6 @@ template<typename ExpressionType, unsigned int Added, unsigned int Removed> clas
typedef typename ei_meta_if<ei_must_nest_by_value<ExpressionType>::ret, typedef typename ei_meta_if<ei_must_nest_by_value<ExpressionType>::ret,
ExpressionType, const ExpressionType&>::ret ExpressionTypeNested; ExpressionType, const ExpressionType&>::ret ExpressionTypeNested;
typedef typename ExpressionType::InnerIterator InnerIterator;
inline SparseFlagged(const ExpressionType& matrix) : m_matrix(matrix) {} inline SparseFlagged(const ExpressionType& matrix) : m_matrix(matrix) {}