From fbf50c9237b0943d5cffc455702495b62e9bd872 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Mon, 30 May 2011 13:14:00 +0000
Subject: [PATCH] Use the true Hessian for the trust-region method, not an
 approximation

[[Imported from SVN: r7350]]
---
 dune/gfe/targetspacertrsolver.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dune/gfe/targetspacertrsolver.cc b/dune/gfe/targetspacertrsolver.cc
index 171d3f46..e05bcbf5 100644
--- a/dune/gfe/targetspacertrsolver.cc
+++ b/dune/gfe/targetspacertrsolver.cc
@@ -71,7 +71,7 @@ void TargetSpaceRiemannianTRSolver<TargetSpace>::solve()
         MatrixType hesseMatrix(1,1);
 
         assembler_->assembleGradient(x_, rhs[0]);
-        assembler_->assembleHessianApproximation(x_, hesseMatrix[0][0]);
+        assembler_->assembleHessian(x_, hesseMatrix[0][0]);
 
         // The right hand side is the _negative_ gradient
         rhs *= -1;
-- 
GitLab