Skip to content
Snippets Groups Projects
Commit fbf50c92 authored by Oliver Sander's avatar Oliver Sander Committed by sander@FU-BERLIN.DE
Browse files

Use the true Hessian for the trust-region method, not an approximation

[[Imported from SVN: r7350]]
parent ba3e8fe8
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment