aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/products/TriangularMatrixVector.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-08-11 15:15:06 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-08-11 15:15:06 +0200
commitafbd73b5cdc1ce9b8ae54e9dd08332c870cf54d2 (patch)
tree1a7803061dfd11097b94f1e1a54d374d254c3867 /Eigen/src/Core/products/TriangularMatrixVector.h
parenta4f664251863907604d43be70a41cc4c1dddd42a (diff)
overload operartor* with a ProductBase such that "scalar * (mat * mat)" is optimized
as one could naturally expect
Diffstat (limited to 'Eigen/src/Core/products/TriangularMatrixVector.h')
-rw-r--r--Eigen/src/Core/products/TriangularMatrixVector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/products/TriangularMatrixVector.h b/Eigen/src/Core/products/TriangularMatrixVector.h
index a21afa2f6..620b090b9 100644
--- a/Eigen/src/Core/products/TriangularMatrixVector.h
+++ b/Eigen/src/Core/products/TriangularMatrixVector.h
@@ -130,7 +130,7 @@ struct TriangularProduct<Mode,true,Lhs,false,Rhs,true>
TriangularProduct(const Lhs& lhs, const Rhs& rhs) : Base(lhs,rhs) {}
- template<typename Dest> void addTo(Dest& dst, Scalar alpha) const
+ template<typename Dest> void scaleAndAddTo(Dest& dst, Scalar alpha) const
{
ei_assert(dst.rows()==m_lhs.rows() && dst.cols()==m_rhs.cols());