X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/32f4ca6248c287dbd1e5f0ef88e82370a3a72ecf..385f6d5ce3f2aff9707045601b32a66b017d7bed:/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) {