aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/products/TriangularMatrixMatrix.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-07-28 18:11:30 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-07-28 18:11:30 +0200
commit864171df5c2e92c829ccaa14fd44c1bbcc27caec (patch)
tree3137bc21c80c3e279b846c2677396e8472e6c0cb /Eigen/src/Core/products/TriangularMatrixMatrix.h
parent1ba35248e96dc5002e2394086886cbc617d85dc6 (diff)
fix a couple of issues related to recent products
Diffstat (limited to 'Eigen/src/Core/products/TriangularMatrixMatrix.h')
-rw-r--r--Eigen/src/Core/products/TriangularMatrixMatrix.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Eigen/src/Core/products/TriangularMatrixMatrix.h b/Eigen/src/Core/products/TriangularMatrixMatrix.h
index 39a2bc4c5..b97eaeabf 100644
--- a/Eigen/src/Core/products/TriangularMatrixMatrix.h
+++ b/Eigen/src/Core/products/TriangularMatrixMatrix.h
@@ -330,6 +330,9 @@ struct ei_triangular_product_returntype<Mode,LhsIsTriangular,Lhs,false,Rhs,false
: m_lhs(lhs), m_rhs(rhs)
{}
+ inline int rows() const { return m_lhs.rows(); }
+ inline int cols() const { return m_lhs.cols(); }
+
typedef typename Lhs::Scalar Scalar;
typedef typename Lhs::Nested LhsNested;