#include <algorithm>
+#include <cmath>
#include <functional>
#include <iterator>
#include <numeric>
double process::compute_load_to_send(double desired)
{
+ if (opt::integer_transfer)
+ desired = std::floor(desired);
return desired >= opt::min_transfer_amount ? desired : 0.0;
}