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

really do shut up when verbosity_==QUIET

[[Imported from SVN: r5794]]
parent b8498a9e
No related branches found
No related tags found
No related merge requests found
......@@ -143,16 +143,16 @@ void TargetSpaceRiemannianTRSolver<TargetSpace>::solve()
assert(modelDecrease >= 0);
if (energy >= oldEnergy) {
// if (this->verbosity_ == NumProc::FULL)
if (this->verbosity_ == NumProc::FULL)
printf("Richtung ist keine Abstiegsrichtung!\n");
}
if (energy >= oldEnergy &&
(std::abs(oldEnergy-energy)/energy < 1e-9 || modelDecrease/energy < 1e-9)) {
// if (this->verbosity_ == NumProc::FULL)
if (this->verbosity_ == NumProc::FULL)
std::cout << "Suspecting rounding problems" << std::endl;
// if (this->verbosity_ != NumProc::QUIET)
if (this->verbosity_ != NumProc::QUIET)
std::cout << i+1 << " trust-region steps were taken." << std::endl;
x_ = newIterate;
......
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