diff options
author | Hauke Heibel <hauke.heibel@gmail.com> | 2010-10-26 16:47:01 +0200 |
---|---|---|
committer | Hauke Heibel <hauke.heibel@gmail.com> | 2010-10-26 16:47:01 +0200 |
commit | c738cd56ebdafe986c7edeb2621ec25f3c0b29d9 (patch) | |
tree | 2ff118b343b69a7dd68d7ad7d898fdfdc82c58ce /Eigen/src/Core/CwiseUnaryView.h | |
parent | 2fbb9932b0f517643c5f05e4056b939b73956b00 (diff) |
Renamed cleantype to remove_all since it is close to remove_{const|pointer|reference}.
Diffstat (limited to 'Eigen/src/Core/CwiseUnaryView.h')
-rw-r--r-- | Eigen/src/Core/CwiseUnaryView.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Eigen/src/Core/CwiseUnaryView.h b/Eigen/src/Core/CwiseUnaryView.h index 8b5a69513..d24ef0373 100644 --- a/Eigen/src/Core/CwiseUnaryView.h +++ b/Eigen/src/Core/CwiseUnaryView.h @@ -48,7 +48,7 @@ struct traits<CwiseUnaryView<ViewOp, MatrixType> > ViewOp(typename traits<MatrixType>::Scalar) >::type Scalar; typedef typename MatrixType::Nested MatrixTypeNested; - typedef typename cleantype<MatrixTypeNested>::type _MatrixTypeNested; + typedef typename remove_all<MatrixTypeNested>::type _MatrixTypeNested; enum { Flags = (traits<_MatrixTypeNested>::Flags & (HereditaryBits | LvalueBit | LinearAccessBit | DirectAccessBit)), CoeffReadCost = traits<_MatrixTypeNested>::CoeffReadCost + functor_traits<ViewOp>::Cost, @@ -88,11 +88,11 @@ class CwiseUnaryView : internal::no_assignment_operator, const ViewOp& functor() const { return m_functor; } /** \returns the nested expression */ - const typename internal::cleantype<typename MatrixType::Nested>::type& + const typename internal::remove_all<typename MatrixType::Nested>::type& nestedExpression() const { return m_matrix; } /** \returns the nested expression */ - typename internal::cleantype<typename MatrixType::Nested>::type& + typename internal::remove_all<typename MatrixType::Nested>::type& nestedExpression() { return m_matrix.const_cast_derived(); } protected: |