X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5c2fa73cd308b08d88910f5f28df80cdde7f2243..6d004c352f7b26fba38486001f874e65466b5bee:/src/plugins/host_load.cpp diff --git a/src/plugins/host_load.cpp b/src/plugins/host_load.cpp index 45b89e76fd..f3f7e3c3d8 100644 --- a/src/plugins/host_load.cpp +++ b/src/plugins/host_load.cpp @@ -145,7 +145,7 @@ void HostLoad::update() double HostLoad::get_current_load() { // We don't need to call update() here because it is called every time an action terminates or starts - return current_flops_ / static_cast(host_->get_speed() * host_->get_core_count()); + return current_flops_ / (host_->get_speed() * host_->get_core_count()); } /*