diff options
author | Gael Guennebaud <g.gael@free.fr> | 2013-11-25 15:20:31 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2013-11-25 15:20:31 +0100 |
commit | 230f5c3aa91b843cf1864258386e3902ffb6370a (patch) | |
tree | a08684f118e1a38de8b910a32f2ee877eab1c445 /Eigen/src/Core/NoAlias.h | |
parent | c550a0e6340e432c87351638561f5b96f32d5d89 (diff) |
Evaluator: introduce the main Assignment class, add call_assignment to bypass NoAlias and AssumeAliasing, and some bits of cleaning
Diffstat (limited to 'Eigen/src/Core/NoAlias.h')
-rw-r--r-- | Eigen/src/Core/NoAlias.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Eigen/src/Core/NoAlias.h b/Eigen/src/Core/NoAlias.h index 0a1c32743..65117a806 100644 --- a/Eigen/src/Core/NoAlias.h +++ b/Eigen/src/Core/NoAlias.h @@ -30,8 +30,9 @@ namespace Eigen { template<typename ExpressionType, template <typename> class StorageBase> class NoAlias { - typedef typename ExpressionType::Scalar Scalar; public: + typedef typename ExpressionType::Scalar Scalar; + NoAlias(ExpressionType& expression) : m_expression(expression) {} /** Behaves like MatrixBase::lazyAssign(other) |