From 4108ff030d65140fda90bdbaafbaeba123f4e9eb Mon Sep 17 00:00:00 2001
From: Thomas Witkowski <thomas.witkowski@gmx.de>
Date: Wed, 10 Dec 2008 13:08:37 +0000
Subject: [PATCH] * Bugfix

---
 AMDiS/src/AdaptInstationary.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/AMDiS/src/AdaptInstationary.cc b/AMDiS/src/AdaptInstationary.cc
index 7f057512..b9fcde70 100644
--- a/AMDiS/src/AdaptInstationary.cc
+++ b/AMDiS/src/AdaptInstationary.cc
@@ -115,7 +115,7 @@ namespace AMDiS {
 
       if (!fixedTimestep_ && 
 	  !adaptInfo->timeToleranceReached() &&
-	  !adaptInfo->getTimestep() <= adaptInfo->getMinTimestep()) {
+	  !(adaptInfo->getTimestep() <= adaptInfo->getMinTimestep())) {
 
 	adaptInfo->setTime(adaptInfo->getTime() - adaptInfo->getTimestep());
 	adaptInfo->setTimestep(adaptInfo->getTimestep() * time_delta_1);
@@ -136,7 +136,7 @@ namespace AMDiS {
 	  if (problemIteration_->oneIteration(adaptInfo, FULL_ITERATION)) {
 	    if (!fixedTimestep_ && 
 		!adaptInfo->timeToleranceReached() &&
-		!adaptInfo->getTimestep() <= adaptInfo->getMinTimestep()) 
+		!(adaptInfo->getTimestep() <= adaptInfo->getMinTimestep())) 
 	      {
 		adaptInfo->setTime(adaptInfo->getTime() - adaptInfo->getTimestep());
 		adaptInfo->setTimestep(adaptInfo->getTimestep() * time_delta_1);
@@ -158,7 +158,7 @@ namespace AMDiS {
 
 
     } while(!adaptInfo->timeToleranceReached() &&
-	    !adaptInfo->getTimestep() <= adaptInfo->getMinTimestep() && 
+	    !(adaptInfo->getTimestep() <= adaptInfo->getMinTimestep()) && 
 	    adaptInfo->getTimestepIteration() <= adaptInfo->getMaxTimestepIteration());  
 
     if (!fixedTimestep_ && adaptInfo->timeErrorLow()) {
-- 
GitLab