From b551a2d77a715b1c64186c8466e8110287da3fbf Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 20 Jul 2010 12:58:22 +0200 Subject: [PATCH] fix declaration of pack_lhs in trsm --- Eigen/src/Core/products/TriangularSolverMatrix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Core/products/TriangularSolverMatrix.h b/Eigen/src/Core/products/TriangularSolverMatrix.h index 3e1fc99bf..7163a800a 100644 --- a/Eigen/src/Core/products/TriangularSolverMatrix.h +++ b/Eigen/src/Core/products/TriangularSolverMatrix.h @@ -230,7 +230,7 @@ struct ei_triangular_solve_matrix0) pack_rhs(geb, &rhs(actual_k2,startPanel), triStride, -1, actual_kc, rs); + if (rs>0) pack_rhs(geb, &rhs(actual_k2,startPanel), triStride, actual_kc, rs); // triangular packing (we only pack the panels off the diagonal, // neglecting the blocks overlapping the diagonal