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

Use std::cout.flags(...)

As suggested by Ansgar in 41af1a2e
parent aff51273
Branches
No related tags found
No related merge requests found
...@@ -154,8 +154,8 @@ void CGSolver<MatrixType, VectorType>::solve() ...@@ -154,8 +154,8 @@ void CGSolver<MatrixType, VectorType>::solve()
<< std::setw(9) << std::setprecision(5) << convRate << std::setw(9) << std::setprecision(5) << convRate
<< std::endl; << std::endl;
std::cout << std::setprecision(oldPrecision) std::cout << std::setprecision(oldPrecision);
<< std::setiosflags(oldFormatFlags); std::cout.flags(oldFormatFlags);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment