Skip to content
Snippets Groups Projects
Commit df90efae authored by Elias Pipping's avatar Elias Pipping
Browse files

Fix output, bringing it closer to the loop solver

What's reported is not an error but a correction. Only difference to a
loop solver now: In relative mode, the latter outputs absolute
corrections, too.
parent d28ac5f2
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,10 @@ void CGSolver<MatrixType, VectorType>::solve()
if (this->verbosity_ == NumProc::FULL)
{
std::cout << " iter";
std::cout << " error";
if (this->useRelativeError_)
std::cout << " correction ";
else
std::cout << " abs correction ";
std::cout << " rate";
std::string header;
if (preconditioner_) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment