diff --git a/dune/gfe/riemanniantrsolver.cc b/dune/gfe/riemanniantrsolver.cc index 87ccf8f51bffaafea22574e406ca68a64d672181..fb07fcf9622febdf6b33aa8dae97dd948d2953e8 100644 --- a/dune/gfe/riemanniantrsolver.cc +++ b/dune/gfe/riemanniantrsolver.cc @@ -546,8 +546,8 @@ void RiemannianTrustRegionSolver<Basis,TargetSpace,Assembler>::solve() std::cout << i+1 << " trust-region steps were taken, the maximum was reached." << std::endl << "Total solver time: " << totalSolverTime << " sec., total assembly time: " << totalAssemblyTime << " sec." << std::endl; if (solved) { - if (this->verbosity_ == NumProc::FULL) - std::cout << "Infinity norm of the correction: " << corr.infinity_norm() << std::endl; + if (this->verbosity_ == NumProc::FULL and rank==0) + std::cout << "Infinity norm of the correction: " << corrGlobalInfinityNorm << std::endl; if (corrGlobalInfinityNorm < this->tolerance_ && corrGlobalInfinityNorm < trustRegion.radius()*smallestScalingParameter) { if (this->verbosity_ == NumProc::FULL and rank==0)