X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ccafe2d8af6c598a53ab9a6fa588ce39c776555d..f1cc430006034e95e75671c6d0f8339078ecd539:/src/surf/network_ib.cpp diff --git a/src/surf/network_ib.cpp b/src/surf/network_ib.cpp index 66cc73017b..1e62ea1cf4 100644 --- a/src/surf/network_ib.cpp +++ b/src/surf/network_ib.cpp @@ -113,7 +113,7 @@ NetworkIBModel::NetworkIBModel() : NetworkSmpiModel() void NetworkIBModel::computeIBfactors(IBNode* root) { - double num_comm_out = static_cast(root->ActiveCommsUp.size()); + double num_comm_out = root->ActiveCommsUp.size(); double max_penalty_out = 0.0; // first, compute all outbound penalties to get their max for (std::vector::iterator it = root->ActiveCommsUp.begin(); it != root->ActiveCommsUp.end(); ++it) {