mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Give the axe to the aliasing system.
Improve the evaluation system instead.
This commit is contained in:
@@ -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) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user