switch to enums everywhere

This commit is contained in:
Benoit Jacob
2008-01-10 20:45:35 +00:00
parent 209cf7c91f
commit 45a4b61b5f
29 changed files with 162 additions and 107 deletions

View File

@@ -67,8 +67,10 @@ template<typename MatrixType, int BlockRows, int BlockCols> class Block
EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block)
private:
static const int RowsAtCompileTime = BlockRows,
ColsAtCompileTime = BlockCols;
enum{
RowsAtCompileTime = BlockRows,
ColsAtCompileTime = BlockCols
};
const Block& _ref() const { return *this; }
int _rows() const { return BlockRows; }