From e7cdbc6587b98ee0bfb9795f6299323ab79fcd55 Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Tue, 5 Apr 2011 08:51:43 +0000 Subject: [PATCH] avoid two signed/unsigned warnings [[Imported from SVN: r7089]] --- dune/gfe/localgeodesicfestiffness.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dune/gfe/localgeodesicfestiffness.hh b/dune/gfe/localgeodesicfestiffness.hh index fb918b1f..39da5b43 100644 --- a/dune/gfe/localgeodesicfestiffness.hh +++ b/dune/gfe/localgeodesicfestiffness.hh @@ -266,7 +266,7 @@ assembleHessian(const Entity& element, // /////////////////////////////////////////////////////////////// // Loop over all blocks of the element matrix // /////////////////////////////////////////////////////////////// - for (int i=0; i<A_.N(); i++) { + for (size_t i=0; i<A_.N(); i++) { ColumnIterator cIt = A_[i].begin(); ColumnIterator cEndIt = A_[i].end(); @@ -354,7 +354,7 @@ assembleHessian(const Entity& element, // This is possible expensive, but I want to be absolute sure // that the matrix is symmetric. // /////////////////////////////////////////////////////////////// - for (int i=0; i<A_.N(); i++) { + for (size_t i=0; i<A_.N(); i++) { ColumnIterator cIt = A_[i].begin(); ColumnIterator cEndIt = A_[i].end(); -- GitLab