From d347577157b85456e667a054720178e16319071f Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Thu, 8 Oct 2009 08:53:47 +0000
Subject: [PATCH] remove unused code for scaled trust-regions

[[Imported from SVN: r4972]]
---
 src/riemanniantrsolver.cc | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/src/riemanniantrsolver.cc b/src/riemanniantrsolver.cc
index bbc92595..f1de176b 100644
--- a/src/riemanniantrsolver.cc
+++ b/src/riemanniantrsolver.cc
@@ -211,24 +211,6 @@ setupTCG(const GridType& grid,
 
     operatorAssembler.assemble(massMatrixStiffness, *B);
 
-    // /////////////////////////////////////////////////////////
-    //   Scale rotational components
-    // /////////////////////////////////////////////////////////
-#warning RigidBody-specific stuff hardwired into the RiemannianTRSolver!
-
-    int alpha = 1;
-    for (int i=0; i<B->N(); i++) {
-
-        // make matrix row an identity row
-        typename MatrixType::row_type::Iterator cIt    = (*B)[i].begin();
-        typename MatrixType::row_type::Iterator cEndIt = (*B)[i].end();
-        
-        for (; cIt!=cEndIt; ++cIt)
-            for (int j=0; j<3; j++)
-                (*cIt)[j][j] *= alpha;
-
-    }
-
     // ////////////////////////////////////////////////////
     //   Create a truncated conjugate gradient solver
     // ////////////////////////////////////////////////////
-- 
GitLab