X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6dec7d322a57d211d0e54ec1668afe77b62b44ef..67bdf5427542ebb33da6978c6ae422a763ea0ab3:/src/surf/plugins/host_load.cpp?ds=sidebyside diff --git a/src/surf/plugins/host_load.cpp b/src/surf/plugins/host_load.cpp index 9b2a88087a..ebe41f4317 100644 --- a/src/surf/plugins/host_load.cpp +++ b/src/surf/plugins/host_load.cpp @@ -76,7 +76,7 @@ void HostLoad::update() double HostLoad::getCurrentLoad() { - return current_flops / (host->getSpeed() * host->getCoreCount()); + return current_flops / static_cast(host->getSpeed() * host->getCoreCount()); } double HostLoad::getAverageLoad()