diff --git a/dune/solvers/solvers/cgsolver.cc b/dune/solvers/solvers/cgsolver.cc
index 00ac8a414329a9be77b93133b90ac7fae0ae1e48..7735cac018266994196e8348770659ec884527ce 100644
--- a/dune/solvers/solvers/cgsolver.cc
+++ b/dune/solvers/solvers/cgsolver.cc
@@ -65,13 +65,13 @@ void CGSolver<MatrixType, VectorType>::solve()
 
     VectorType p(*x_);              // the search direction
     VectorType q(*x_);              // a temporary vector
-    
+
     // some local variables
     double rho,rholast,lambda,alpha,beta;
-    
+
     // determine initial search direction
     p = 0;                          // clear correction
-    
+
     if (preconditioner_) {
         preconditioner_->setProblem(*matrix_,p,b);
         preconditioner_->iterate();
@@ -80,13 +80,13 @@ void CGSolver<MatrixType, VectorType>::solve()
         p = b;
 
     rholast = p*b;         // orthogonalization
-    
+
     // Loop until desired tolerance or maximum number of iterations is reached
     for (i=0; i<this->maxIterations_ && (error>this->tolerance_ || std::isnan(error)); i++) {
-        
+
         // Backup of the current solution for the error computation later on
         VectorType oldSolution = *x_;
-        
+
         // Perform one iteration step
         // minimize in given search direction p
         matrix_->mv(p,q);       // q=Ap
@@ -97,7 +97,7 @@ void CGSolver<MatrixType, VectorType>::solve()
 
         // determine new search direction
         q = 0;                  // clear correction
-        
+
         // apply preconditioner
         if (preconditioner_) {
             preconditioner_->setProblem(*matrix_,q,b);
@@ -105,7 +105,7 @@ void CGSolver<MatrixType, VectorType>::solve()
             q = preconditioner_->getSol();
         } else
             q = b;
-        
+
         rho = q*b;              // orthogonalization
         beta = rho/rholast;     // scaling factor
         p *= beta;              // scale old search direction
@@ -113,10 +113,10 @@ void CGSolver<MatrixType, VectorType>::solve()
         rholast = rho;          // remember rho for recurrence
 
         // write iteration to file, if requested
-        if (this->historyBuffer_!="") 
+        if (this->historyBuffer_!="")
             this->writeIterate(*x_, i);
 
-        // Compute error        
+        // Compute error
         double oldNorm = errorNorm_->operator()(oldSolution);
         oldSolution -= *x_;
 
diff --git a/dune/solvers/solvers/cgsolver.hh b/dune/solvers/solvers/cgsolver.hh
index c1677e56e66f58deef67d5ddd07b5a84c762b6dd..995615669c9ad3453161b55fc2473564cff2dfd5 100644
--- a/dune/solvers/solvers/cgsolver.hh
+++ b/dune/solvers/solvers/cgsolver.hh
@@ -7,7 +7,7 @@
 #include <dune/solvers/iterationsteps/lineariterationstep.hh>
 #include <dune/solvers/norms/norm.hh>
 
-/** \brief A conjugate gradient solver 
+/** \brief A conjugate gradient solver
  *
  */
 template <class MatrixType, class VectorType>
@@ -15,10 +15,10 @@ class CGSolver : public IterativeSolver<VectorType>
 {
     static const int blocksize = VectorType::block_type::dimension;
 
-public:     
+public:
 
     /** \brief Constructor taking all relevant data */
-        
+
     CGSolver(const MatrixType* matrix,
              VectorType* x,
              VectorType* rhs,
@@ -32,11 +32,11 @@ public:
           matrix_(matrix), x_(x), rhs_(rhs),
           preconditioner_(preconditioner), errorNorm_(errorNorm)
     {}
-    
+
     /** \brief Loop, call the iteration procedure
      * and monitor convergence */
     virtual void solve();
-    
+
     /** \brief Checks whether all relevant member variables are set
      * \exception SolverError if the iteration step is not set up properly
      */
@@ -47,13 +47,13 @@ public:
     VectorType* x_;
 
     VectorType* rhs_;
-    
+
     //! The iteration step used by the algorithm
     LinearIterationStep<MatrixType,VectorType>* preconditioner_;
-    
+
     //! The norm used to measure convergence
     Norm<VectorType>* errorNorm_;
-    
+
 };
 
 #include "cgsolver.cc"