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 ScalarProduct
typedef ScalarProduct Ref;
friend class EigenBase<typename MatrixType::Scalar, ScalarProduct<MatrixType> >;
static const int RowsAtCompileTime = MatrixType::RowsAtCompileTime,
ColsAtCompileTime = MatrixType::ColsAtCompileTime;
ScalarProduct(const MatRef& matrix, Scalar scalar)
: m_matrix(matrix), m_scalar(scalar) {}