bug #1229: bypass usage of Derived::Options which is available for plain matrix types only. Better use column-major storage anyway.

This commit is contained in:
Gael Guennebaud
2016-05-18 16:44:05 +02:00
parent 43790e009b
commit 548a487800
3 changed files with 4 additions and 7 deletions

View File

@@ -383,7 +383,7 @@ class MatrixPower : internal::noncopyable
private:
typedef std::complex<RealScalar> ComplexScalar;
typedef Matrix<ComplexScalar, Dynamic, Dynamic, MatrixType::Options,
typedef Matrix<ComplexScalar, Dynamic, Dynamic, 0,
MatrixType::RowsAtCompileTime, MatrixType::ColsAtCompileTime> ComplexMatrix;
/** \brief Reference to the base of matrix power. */