diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-06-11 07:56:50 -0400 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-06-11 07:56:50 -0400 |
commit | bdd7c6c88a0b8cb931480e04e33a17aa08022e06 (patch) | |
tree | ecc28fd133ddabfccd76a925043e35003ada6e10 /unsupported/Eigen/src/Skyline/SkylineMatrixBase.h | |
parent | 52e8c42a005cb607ba87e4f028e143d6d91f5021 (diff) |
change the value of Dynamic to -1, since the index type is now configurable.
remove EIGEN_ENUM_MIN/MAX, implement new macros instead
Diffstat (limited to 'unsupported/Eigen/src/Skyline/SkylineMatrixBase.h')
-rw-r--r-- | unsupported/Eigen/src/Skyline/SkylineMatrixBase.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h b/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h index 17349c187..5f577de3d 100644 --- a/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h +++ b/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h @@ -98,8 +98,8 @@ public: typedef typename NumTraits<Scalar>::Real RealScalar; /** type of the equivalent square matrix */ - typedef Matrix<Scalar, EIGEN_ENUM_MAX(RowsAtCompileTime, ColsAtCompileTime), - EIGEN_ENUM_MAX(RowsAtCompileTime, ColsAtCompileTime) > SquareMatrixType; + typedef Matrix<Scalar, EIGEN_SIZE_MAX(RowsAtCompileTime, ColsAtCompileTime), + EIGEN_SIZE_MAX(RowsAtCompileTime, ColsAtCompileTime) > SquareMatrixType; inline const Derived& derived() const { return *static_cast<const Derived*> (this); |