From 62d9b9b7b51fa0249baf59db91bdfd9af191cdb3 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 29 Jul 2009 09:26:20 +0200 Subject: fix typo --- Eigen/src/Core/SelfAdjointView.h | 4 ++-- Eigen/src/Core/products/TriangularMatrixMatrix.h | 2 +- Eigen/src/Core/products/TriangularMatrixVector.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'Eigen/src/Core') diff --git a/Eigen/src/Core/SelfAdjointView.h b/Eigen/src/Core/SelfAdjointView.h index 48d368ea4..c21f3a377 100644 --- a/Eigen/src/Core/SelfAdjointView.h +++ b/Eigen/src/Core/SelfAdjointView.h @@ -229,7 +229,7 @@ struct ei_selfadjoint_product_returntype {} inline int rows() const { return m_lhs.rows(); } - inline int cols() const { return m_lhs.cols(); } + inline int cols() const { return m_rhs.cols(); } template inline void _addTo(Dest& dst) const { evalTo(dst,1); } @@ -282,7 +282,7 @@ struct ei_selfadjoint_product_returntype {} inline int rows() const { return m_lhs.rows(); } - inline int cols() const { return m_lhs.cols(); } + inline int cols() const { return m_rhs.cols(); } typedef typename Lhs::Scalar Scalar; diff --git a/Eigen/src/Core/products/TriangularMatrixMatrix.h b/Eigen/src/Core/products/TriangularMatrixMatrix.h index b97eaeabf..ce18941ee 100644 --- a/Eigen/src/Core/products/TriangularMatrixMatrix.h +++ b/Eigen/src/Core/products/TriangularMatrixMatrix.h @@ -331,7 +331,7 @@ struct ei_triangular_product_returntype {} inline int rows() const { return m_lhs.rows(); } - inline int cols() const { return m_lhs.cols(); } + inline int cols() const { return m_rhs.cols(); } template inline void _addTo(Dest& dst) const { evalTo(dst,1); } -- cgit v1.2.3