X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/54e818e2dea66d457ec7061f3f2bec19be321f39..4e62e76d104a17f0c9aaf9135ac605e9c8c87141:/src/plugins/host_energy.cpp diff --git a/src/plugins/host_energy.cpp b/src/plugins/host_energy.cpp index 85a17d3f3d..5cbb75c2c0 100644 --- a/src/plugins/host_energy.cpp +++ b/src/plugins/host_energy.cpp @@ -370,7 +370,7 @@ void HostEnergy::init_watts_range_list() } else { p_epsilon = p_one_core - ((p_full - p_one_core) / (host_->get_core_count() - 1)); } - } else { // consuption given with idle and full only + } else { // consumption given with idle and full only p_full = xbt_str_parse_double((current_power_values.at(1)).c_str(), "Invalid obsolete XML file. Fix your watt_per_state property."); if (host_->get_core_count() == 1) {