From a32673ecba125b7e7d3e4ce12d79b0d06551c07c Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Fri, 19 Feb 2010 11:31:31 +0000 Subject: [PATCH] rename 'assembleMatrix' to 'assembleHessianApproximation', because that is what it is [[Imported from SVN: r5595]] --- src/averagedistanceassembler.hh | 4 ++-- src/targetspacertrsolver.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/averagedistanceassembler.hh b/src/averagedistanceassembler.hh index 0f62f984..0dfd06d2 100644 --- a/src/averagedistanceassembler.hh +++ b/src/averagedistanceassembler.hh @@ -45,8 +45,8 @@ public: #endif } - void assembleMatrix(const TargetSpace& x, - Dune::FieldMatrix<double,size,size>& matrix) const + void assembleHessianApproximation(const TargetSpace& x, + Dune::FieldMatrix<double,size,size>& matrix) const { for (int i=0; i<size; i++) for (int j=0; j<size; j++) diff --git a/src/targetspacertrsolver.cc b/src/targetspacertrsolver.cc index f343b1ad..9cb11266 100644 --- a/src/targetspacertrsolver.cc +++ b/src/targetspacertrsolver.cc @@ -77,7 +77,7 @@ void TargetSpaceRiemannianTRSolver<TargetSpace>::solve() MatrixType hesseMatrix(1,1); assembler_->assembleGradient(x_, rhs[0]); - assembler_->assembleMatrix(x_, hesseMatrix[0][0]); + assembler_->assembleHessianApproximation(x_, hesseMatrix[0][0]); //gradientFDCheck(x_, rhs, *rodAssembler_); //hessianFDCheck(x_, *hessianMatrix_, *rodAssembler_); -- GitLab