From 3e4a0cc6d6b85a2355ff02a349e6095607bf4f1a Mon Sep 17 00:00:00 2001
From: Thomas Witkowski <thomas.witkowski@gmx.de>
Date: Fri, 23 May 2008 09:01:34 +0000
Subject: [PATCH] * Removed debug information output

---
 AMDiS/src/CGSolver.hh | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/AMDiS/src/CGSolver.hh b/AMDiS/src/CGSolver.hh
index 00c001ce..82120498 100644
--- a/AMDiS/src/CGSolver.hh
+++ b/AMDiS/src/CGSolver.hh
@@ -108,15 +108,13 @@ namespace AMDiS {
 
       // Check if x is a solution of the linear system.
       if (SOLVE_INFO(iter, sqrt(alpha1), &old_res)) {
-	  *p = *x;
-	  *p *= -1.0;
-	  
-	  // r = b - Ax
-	  matVec->matVec(NoTranspose, *p, *r);
-	  *r += *b;
-
-	  ::std::cout << "Final res: " << norm(r) << ::std::endl;
-
+	*p = *x;
+	*p *= -1.0;
+	
+	// r = b - Ax
+	matVec->matVec(NoTranspose, *p, *r);
+	*r += *b;
+	
 	return(iter);
       }
 
-- 
GitLab