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

[Cleanup] Use std::flush

parent 26d0f85e
No related branches found
No related tags found
No related merge requests found
......@@ -488,7 +488,7 @@ int main(int argc, char *argv[]) {
parset.get<Solver::VerbosityMode>("v.solver.verbosity");
for (size_t run = 1; run <= timesteps; ++run) {
if (printProgress)
(std::cout << boost::format("%7d ") % run << " ").flush();
std::cout << boost::format("%7d ") % run << " " << std::flush;
stateUpdater->nextTimeStep();
timeSteppingScheme->nextTimeStep();
......@@ -560,7 +560,7 @@ int main(int argc, char *argv[]) {
iterationWriter << iterationCounter << " ";
if (printProgress)
(std::cout << '.').flush();
std::cout << '.' << std::flush;
if (stateFPI > 1) {
double const velocityCorrection = AMNorm.diff(u_saved, u);
......
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