aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-07-29 09:26:20 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-07-29 09:26:20 +0200
commit62d9b9b7b51fa0249baf59db91bdfd9af191cdb3 (patch)
tree04251aae40f705e0cd62b81bea030a4185324b37 /Eigen/src/Core
parent864171df5c2e92c829ccaa14fd44c1bbcc27caec (diff)
fix typo
Diffstat (limited to 'Eigen/src/Core')
-rw-r--r--Eigen/src/Core/SelfAdjointView.h4
-rw-r--r--Eigen/src/Core/products/TriangularMatrixMatrix.h2
-rw-r--r--Eigen/src/Core/products/TriangularMatrixVector.h2
3 files changed, 4 insertions, 4 deletions
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<Lhs,LhsMode,false,Rhs,0,true>
{}
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<typename Dest> inline void _addTo(Dest& dst) const
{ evalTo(dst,1); }
@@ -282,7 +282,7 @@ struct ei_selfadjoint_product_returntype<Lhs,LhsMode,false,Rhs,RhsMode,false>
{}
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<Mode,LhsIsTriangular,Lhs,false,Rhs,false
{}
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/TriangularMatrixVector.h b/Eigen/src/Core/products/TriangularMatrixVector.h
index 864b89afc..18d76b95c 100644
--- a/Eigen/src/Core/products/TriangularMatrixVector.h
+++ b/Eigen/src/Core/products/TriangularMatrixVector.h
@@ -142,7 +142,7 @@ struct ei_triangular_product_returntype<Mode,true,Lhs,false,Rhs,true>
{}
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<typename Dest> inline void _addTo(Dest& dst) const
{ evalTo(dst,1); }