From 115da6a1ea6d29fbe432af9486090a74bc7de9b8 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 19 Feb 2019 14:00:15 +0100 Subject: Fix conversion warnings --- Eigen/src/LU/PartialPivLU.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Eigen/src/LU/PartialPivLU.h b/Eigen/src/LU/PartialPivLU.h index cba7a0fcf..b8938013a 100644 --- a/Eigen/src/LU/PartialPivLU.h +++ b/Eigen/src/LU/PartialPivLU.h @@ -369,8 +369,8 @@ struct partial_lu_impl Index first_zero_pivot = -1; for(Index k = 0; k < endk; ++k) { - Index rrows = rows-k-1; - Index rcols = cols-k-1; + int rrows = internal::convert_index(rows-k-1); + int rcols = internal::convert_index(cols-k-1); Index row_of_biggest_in_col; Score biggest_in_corner -- cgit v1.2.3