aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/products/TriangularMatrixVector.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-07-11 16:01:48 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-07-11 16:01:48 +0200
commit8e3c4283f52a14b64ce346dcdd9115871a481ab6 (patch)
treeeee920aabfc4d73d0eb0a4149fd2edd1d13d4384 /Eigen/src/Core/products/TriangularMatrixVector.h
parentff96c94043d575e4d0dd477c1ed2487e33f79627 (diff)
make colmaj * vector uses pointers only
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 16b02a425..67c131ab2 100644
--- a/Eigen/src/Core/products/TriangularMatrixVector.h
+++ b/Eigen/src/Core/products/TriangularMatrixVector.h
@@ -79,7 +79,7 @@ struct ei_product_triangular_vector_selector<true,Lhs,Rhs,Result,Mode,ConjLhs,Co
ei_general_matrix_vector_product<Index,Scalar,ColMajor,ConjLhs,Scalar,ConjRhs>::run(
r, actualPanelWidth,
&(lhs.const_cast_derived().coeffRef(s,pi)), lhs.outerStride(),
- rhs.segment(pi, actualPanelWidth), rhs.innerStride(),
+ &rhs.coeff(pi), rhs.innerStride(),
&res.coeffRef(s), res.innerStride(), alpha);
}
}