diff options
author | Gael Guennebaud <g.gael@free.fr> | 2009-12-04 23:17:14 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2009-12-04 23:17:14 +0100 |
commit | 8e05f9cfa1538d76a9d3e01e08ba565bd581806a (patch) | |
tree | e3ba56b1c37c00ce1da70277e8ef2a86a48c6173 /Eigen/src/Jacobi | |
parent | 80ebeae48d7b56500d9ebc8abd2789061af145e1 (diff) |
add a DenseBase class for MAtrixBase and ArrayBase and more code factorisation
Diffstat (limited to 'Eigen/src/Jacobi')
-rw-r--r-- | Eigen/src/Jacobi/Jacobi.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Eigen/src/Jacobi/Jacobi.h b/Eigen/src/Jacobi/Jacobi.h index eeb81c178..727c97583 100644 --- a/Eigen/src/Jacobi/Jacobi.h +++ b/Eigen/src/Jacobi/Jacobi.h @@ -279,8 +279,8 @@ template<typename Derived> template<typename OtherScalar> inline void MatrixBase<Derived>::applyOnTheLeft(int p, int q, const PlanarRotation<OtherScalar>& j) { - RowXpr x(row(p)); - RowXpr y(row(q)); + RowXpr x(this->row(p)); + RowXpr y(this->row(q)); ei_apply_rotation_in_the_plane(x, y, j); } @@ -294,8 +294,8 @@ template<typename Derived> template<typename OtherScalar> inline void MatrixBase<Derived>::applyOnTheRight(int p, int q, const PlanarRotation<OtherScalar>& j) { - ColXpr x(col(p)); - ColXpr y(col(q)); + ColXpr x(this->col(p)); + ColXpr y(this->col(q)); ei_apply_rotation_in_the_plane(x, y, j.transpose()); } |