diff --git a/Eigen/src/Core/AssignEvaluator.h b/Eigen/src/Core/AssignEvaluator.h index c45ac96f2..43755c2fd 100644 --- a/Eigen/src/Core/AssignEvaluator.h +++ b/Eigen/src/Core/AssignEvaluator.h @@ -695,9 +695,8 @@ void call_assignment(const Dst& dst, const Src& src) template void call_assignment(Dst& dst, const Src& src, const Func& func, typename enable_if::AssumeAliasing==1, void*>::type = 0) { - #ifdef EIGEN_TEST_EVALUATORS - typename Src::PlainObject tmp(src); + typename plain_matrix_type::type tmp(src); #else typename Src::PlainObject tmp(src.rows(), src.cols()); call_assignment_no_alias(tmp, src, internal::assign_op()); diff --git a/Eigen/src/SparseCore/SparseMatrixBase.h b/Eigen/src/SparseCore/SparseMatrixBase.h index a6452fa4e..361a66067 100644 --- a/Eigen/src/SparseCore/SparseMatrixBase.h +++ b/Eigen/src/SparseCore/SparseMatrixBase.h @@ -102,10 +102,9 @@ template class SparseMatrixBase : public EigenBase Transpose >::type AdjointReturnType; - + // FIXME storage order do not match evaluator storage order typedef SparseMatrix PlainObject; - #ifndef EIGEN_PARSED_BY_DOXYGEN /** This is the "real scalar" type; if the \a Scalar type is already real numbers * (e.g. int, float or double) then \a RealScalar is just the same as \a Scalar. If