Commit 71a78813 by Maarten L. Hekkelman

Merge branch 'trunk' of gitlab.rhpc.nki.nl:PDB_REDO/libcifpp into trunk

parents 62face74 1cbfbd8f
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include <tuple> #include <tuple>
#include <iostream> #include <iostream>
#include <cstdio> #include <cstdio>
#include <cmath>
#include <atomic> #include <atomic>
#include <mutex> #include <mutex>
#include <thread> #include <thread>
...@@ -527,7 +528,7 @@ void ProgressImpl::PrintProgress() ...@@ -527,7 +528,7 @@ void ProgressImpl::PrintProgress()
int64_t consumed = mConsumed; int64_t consumed = mConsumed;
float progress = static_cast<float>(consumed) / mMax; float progress = static_cast<float>(consumed) / mMax;
int pi = static_cast<int>(ceil(progress * 33 * 8)); int pi = static_cast<int>(std::ceil(progress * 33 * 8));
// int tw = width - 28; // int tw = width - 28;
// int twd = static_cast<int>(tw * progress + 0.5f); // int twd = static_cast<int>(tw * progress + 0.5f);
// msg.append(twd, '='); // msg.append(twd, '=');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment