From e5bc9526f16590288edbc3e5fd8837ea81654942 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Sat, 10 Jul 2010 22:53:27 +0200 Subject: * generalize rowmajor by vector * fix weird compilation error when constructing a matrix with a row by matrix product --- Eigen/src/Core/SolveTriangular.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Eigen/src/Core/SolveTriangular.h') diff --git a/Eigen/src/Core/SolveTriangular.h b/Eigen/src/Core/SolveTriangular.h index 310e262d8..90ce2a802 100644 --- a/Eigen/src/Core/SolveTriangular.h +++ b/Eigen/src/Core/SolveTriangular.h @@ -80,12 +80,13 @@ struct ei_triangular_solver_selector target(other,startRow,actualPanelWidth); - ei_cache_friendly_product_rowmajor_times_vector( + ei_cache_friendly_product_rowmajor_times_vector( + actualPanelWidth, r, &(actualLhs.const_cast_derived().coeffRef(startRow,startCol)), actualLhs.outerStride(), - &(other.coeffRef(startCol)), r, - target, Scalar(-1)); + &(other.coeffRef(startCol)), other.innerStride(), + &other.coeffRef(startRow), other.innerStride(), + Scalar(-1)); } for(Index k=0; k