From f34eaa2628181f94262ea87c3cd48ad116915551 Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Sun, 20 Jun 2010 21:44:25 +0200 Subject: Next try - more Index fixes. --- Eigen/src/Core/PermutationMatrix.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'Eigen/src/Core/PermutationMatrix.h') diff --git a/Eigen/src/Core/PermutationMatrix.h b/Eigen/src/Core/PermutationMatrix.h index 42832265d..a996e8f1e 100644 --- a/Eigen/src/Core/PermutationMatrix.h +++ b/Eigen/src/Core/PermutationMatrix.h @@ -127,7 +127,7 @@ class PermutationMatrix : public EigenBase& tr) { setIdentity(tr.size()); - for(int k=size()-1; k>=0; --k) + for(Index k=size()-1; k>=0; --k) applyTranspositionOnTheRight(k,tr.coeff(k)); return *this; } @@ -144,13 +144,13 @@ class PermutationMatrix : public EigenBase @@ -178,7 +178,7 @@ class PermutationMatrix : public EigenBase=0 && j>=0 && i=0 && j>=0 && i