aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Product.h
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-03-04 17:08:23 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-03-04 17:08:23 +0000
commit861c6f4c9b4ceff1ad734e22f4615b260b1d9c45 (patch)
tree3c9b2fecf2b79b23ec869fedaba573058f9baba1 /Eigen/src/Core/Product.h
parentf65cca5d1d28cff4880026d48a9e95b279bed3e3 (diff)
renaming: ref() --> asArg()
Diffstat (limited to 'Eigen/src/Core/Product.h')
-rw-r--r--Eigen/src/Core/Product.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Eigen/src/Core/Product.h b/Eigen/src/Core/Product.h
index f41d887a5..7ca68d76e 100644
--- a/Eigen/src/Core/Product.h
+++ b/Eigen/src/Core/Product.h
@@ -77,8 +77,8 @@ template<typename Lhs, typename Rhs> class Product : NoOperatorEquals,
{
public:
typedef typename Lhs::Scalar Scalar;
- typedef typename Lhs::Ref LhsRef;
- typedef typename Rhs::Ref RhsRef;
+ typedef typename Lhs::AsArg LhsRef;
+ typedef typename Rhs::AsArg RhsRef;
friend class MatrixBase<Scalar, Product>;
friend class MatrixBase<Scalar, Product>::Traits;
typedef MatrixBase<Scalar, Product> Base;
@@ -97,7 +97,7 @@ template<typename Lhs, typename Rhs> class Product : NoOperatorEquals,
MaxColsAtCompileTime = Rhs::Traits::MaxColsAtCompileTime
};
- const Product& _ref() const { return *this; }
+ const Product& _asArg() const { return *this; }
int _rows() const { return m_lhs.rows(); }
int _cols() const { return m_rhs.cols(); }
@@ -138,7 +138,7 @@ template<typename OtherDerived>
const Product<Derived, OtherDerived>
MatrixBase<Scalar, Derived>::lazyProduct(const MatrixBase<Scalar, OtherDerived> &other) const
{
- return Product<Derived, OtherDerived>(ref(), other.ref());
+ return Product<Derived, OtherDerived>(asArg(), other.asArg());
}
/** \relates MatrixBase