From af27af9e800912a6ea1f1ce6c1bdbd504932500e Mon Sep 17 00:00:00 2001
From: Christian Engwer <christi@dune-project.org>
Date: Mon, 18 Oct 2010 21:00:22 +0000
Subject: [PATCH] use int for count-down

[[Imported from SVN: r6185]]
---
 dune/common/densematrix.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dune/common/densematrix.hh b/dune/common/densematrix.hh
index 30970dba6..f1ede4374 100644
--- a/dune/common/densematrix.hh
+++ b/dune/common/densematrix.hh
@@ -811,7 +811,7 @@ namespace Dune
       luDecomposition(A, elim);
 
       // backsolve
-      for(size_type i=rows()-1; i>=0; i--) {
+      for(int i=rows()-1; i>=0; i--) {
         for (size_type j=i+1; j<rows(); j++)
           rhs[i] -= A[i][j]*x[j];
         x[i] = rhs[i]/A[i][i];
-- 
GitLab