From f0a62c90bcb59bbea04cbb3cb4cc818cda9251ce Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 29 Sep 2014 10:27:51 +0200 Subject: [PATCH] Avoid comparisons between different index types. --- Eigen/src/Core/PermutationMatrix.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Eigen/src/Core/PermutationMatrix.h b/Eigen/src/Core/PermutationMatrix.h index d5113ce19..4846f2ae1 100644 --- a/Eigen/src/Core/PermutationMatrix.h +++ b/Eigen/src/Core/PermutationMatrix.h @@ -303,7 +303,9 @@ class PermutationMatrix : public PermutationBase::highest()); + } /** Copy constructor. */ template @@ -375,7 +377,8 @@ class PermutationMatrix : public PermutationBase::highest()); - for (StorageIndexType i=0; i