From 2c1294ebe0aaab2bf033a08cb813676a6295bc9b Mon Sep 17 00:00:00 2001
From: Thomas Witkowski <thomas.witkowski@gmx.de>
Date: Wed, 16 Mar 2011 12:41:52 +0000
Subject: [PATCH] And fixed some small problem.

---
 AMDiS/libtool                     |  6 +++---
 AMDiS/src/parallel/PetscSolver.cc | 10 ++++------
 2 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/AMDiS/libtool b/AMDiS/libtool
index ace48e58..1a37a1c4 100755
--- a/AMDiS/libtool
+++ b/AMDiS/libtool
@@ -44,7 +44,7 @@ available_tags=" CXX F77"
 
 # ### BEGIN LIBTOOL CONFIG
 
-# Libtool was configured on host p1q024:
+# Libtool was configured on host deimos102:
 
 # Shell to use when invoking shell scripts.
 SHELL="/bin/sh"
@@ -6760,7 +6760,7 @@ build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac`
 # End:
 # ### BEGIN LIBTOOL TAG CONFIG: CXX
 
-# Libtool was configured on host p1q024:
+# Libtool was configured on host deimos102:
 
 # Shell to use when invoking shell scripts.
 SHELL="/bin/sh"
@@ -7065,7 +7065,7 @@ include_expsyms=""
 
 # ### BEGIN LIBTOOL TAG CONFIG: F77
 
-# Libtool was configured on host p1q024:
+# Libtool was configured on host deimos102:
 
 # Shell to use when invoking shell scripts.
 SHELL="/bin/sh"
diff --git a/AMDiS/src/parallel/PetscSolver.cc b/AMDiS/src/parallel/PetscSolver.cc
index 02185b26..0c4e5a50 100644
--- a/AMDiS/src/parallel/PetscSolver.cc
+++ b/AMDiS/src/parallel/PetscSolver.cc
@@ -144,15 +144,13 @@ namespace AMDiS {
 	    // And add all periodic matrix indices.
 	    for (std::set<int>::iterator it = perAsc.begin(); 
 		 it != perAsc.end(); ++it) {
-	      for (unsigned int i = 0; i < newCols.size(); i++) {
- 		TEST_EXIT(meshDistributor->isPeriodicDof(newCols[i], *it))
+	      int nCols = static_cast<int>(newCols.size());
+
+	      for (int i = 0; i < nCols; i++) {
+ 		TEST_EXIT_DBG(meshDistributor->isPeriodicDof(newCols[i], *it))
  		  ("Wrong periodic DOF associations at boundary %d with DOF %d!\n",
 		   *it, newCols[i]);
 
-		MSG("MAP DOF %d -> %d\n",
-		    newCols[i],
-		    meshDistributor->getPeriodicMapping(newCols[i], *it));
-
 		newCols.push_back(meshDistributor->getPeriodicMapping(newCols[i], *it));
 	      }
 	    }
-- 
GitLab