Skip to content
Snippets Groups Projects
Commit 6079f3f6 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

Terminate when the _global_ correction drops below the limit

[[Imported from SVN: r9838]]
parent 1b0345be
No related branches found
No related tags found
No related merge requests found
......@@ -428,7 +428,7 @@ void RiemannianTrustRegionSolver<GridType,TargetSpace>::solve()
if (this->verbosity_ == NumProc::FULL)
std::cout << "Infinity norm of the correction: " << corr.infinity_norm() << std::endl;
if (corr.infinity_norm() < this->tolerance_) {
if (corr_global.infinity_norm() < this->tolerance_) {
if (this->verbosity_ == NumProc::FULL and rank==0)
std::cout << "CORRECTION IS SMALL ENOUGH" << std::endl;
......
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