aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Row.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/Row.h
parentf65cca5d1d28cff4880026d48a9e95b279bed3e3 (diff)
renaming: ref() --> asArg()
Diffstat (limited to 'Eigen/src/Core/Row.h')
-rw-r--r--Eigen/src/Core/Row.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Eigen/src/Core/Row.h b/Eigen/src/Core/Row.h
index 4657e32db..b9d245ea7 100644
--- a/Eigen/src/Core/Row.h
+++ b/Eigen/src/Core/Row.h
@@ -50,7 +50,7 @@ template<typename MatrixType> class Row
{
public:
typedef typename MatrixType::Scalar Scalar;
- typedef typename MatrixType::Ref MatRef;
+ typedef typename MatrixType::AsArg MatRef;
friend class MatrixBase<Scalar, Row>;
friend class MatrixBase<Scalar, Row>::Traits;
typedef MatrixBase<Scalar, Row> Base;
@@ -77,7 +77,7 @@ template<typename MatrixType> class Row
MaxColsAtCompileTime = MatrixType::Traits::MaxColsAtCompileTime
};
- const Row& _ref() const { return *this; }
+ const Row& _asArg() const { return *this; }
int _rows() const { return 1; }
int _cols() const { return m_matrix.cols(); }
@@ -107,7 +107,7 @@ template<typename Scalar, typename Derived>
Row<Derived>
MatrixBase<Scalar, Derived>::row(int i)
{
- return Row<Derived>(ref(), i);
+ return Row<Derived>(asArg(), i);
}
/** This is the const version of row(). */
@@ -115,7 +115,7 @@ template<typename Scalar, typename Derived>
const Row<Derived>
MatrixBase<Scalar, Derived>::row(int i) const
{
- return Row<Derived>(ref(), i);
+ return Row<Derived>(asArg(), i);
}
#endif // EIGEN_ROW_H