aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/DiagonalMatrix.h
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-11-16 21:33:41 -0500
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-11-16 21:33:41 -0500
commit984c00077878382a5b49c0cbbe150e488a801940 (patch)
treeb2ad908607d85d9e1aef1f25f7bacd18cec11807 /Eigen/src/Core/DiagonalMatrix.h
parent07412b2075a0d2924ae302f4af7ca54c923c9115 (diff)
addToDense ---> addTo
subToDense ---> subTo
Diffstat (limited to 'Eigen/src/Core/DiagonalMatrix.h')
-rw-r--r--Eigen/src/Core/DiagonalMatrix.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/DiagonalMatrix.h b/Eigen/src/Core/DiagonalMatrix.h
index e3e2120ea..360f03dd2 100644
--- a/Eigen/src/Core/DiagonalMatrix.h
+++ b/Eigen/src/Core/DiagonalMatrix.h
@@ -52,10 +52,10 @@ class DiagonalBase : public AnyMatrixBase<Derived>
template<typename DenseDerived>
void evalTo(MatrixBase<DenseDerived> &other) const;
template<typename DenseDerived>
- void addToDense(MatrixBase<DenseDerived> &other) const
+ void addTo(MatrixBase<DenseDerived> &other) const
{ other.diagonal() += diagonal(); }
template<typename DenseDerived>
- void subToDense(MatrixBase<DenseDerived> &other) const
+ void subTo(MatrixBase<DenseDerived> &other) const
{ other.diagonal() -= diagonal(); }
inline const DiagonalVectorType& diagonal() const { return derived().diagonal(); }