Make sure we evaluate into temporaries matching evaluator storage order requirements

This commit is contained in:
Gael Guennebaud
2014-07-19 15:19:10 +02:00
parent 3eba5e1101
commit 62f332fc04
2 changed files with 2 additions and 4 deletions

View File

@@ -102,10 +102,9 @@ template<typename Derived> class SparseMatrixBase : public EigenBase<Derived>
Transpose<const Derived>
>::type AdjointReturnType;
// FIXME storage order do not match evaluator storage order
typedef SparseMatrix<Scalar, Flags&RowMajorBit ? RowMajor : ColMajor, Index> 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