Give the axe to the aliasing system.

Improve the evaluation system instead.
This commit is contained in:
Benoit Jacob
2007-09-26 14:06:26 +00:00
parent 55227b1f63
commit a2dd9dd6f9
11 changed files with 29 additions and 95 deletions

View File

@@ -37,6 +37,9 @@ template<typename MatrixType> class MatrixRow
friend class EigenBase<Scalar, MatrixRow<MatrixType> >;
typedef MatrixRow Ref;
static const int RowsAtCompileTime = MatrixType::ColsAtCompileTime,
ColsAtCompileTime = 1;
MatrixRow(const MatRef& matrix, int row)
: m_matrix(matrix), m_row(row)
{
@@ -88,6 +91,9 @@ template<typename MatrixType> class MatrixCol
friend class EigenBase<Scalar, MatrixCol<MatrixType> >;
typedef MatrixCol Ref;
static const int RowsAtCompileTime = MatrixType::RowsAtCompileTime,
ColsAtCompileTime = 1;
MatrixCol(const MatRef& matrix, int col)
: m_matrix(matrix), m_col(col)
{