]> AND Public Git Repository - simgrid.git/blobdiff - src/surf/network_ib.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't mix LMM sharing policy with S4U.
[simgrid.git] / src / surf / network_ib.cpp
index ab61d8e8ab94e3b92f2aca92fee35f11987d753b..c62ea553cc00d57d613c148914426fb4701e3d75 100644 (file)
@@ -108,7 +108,7 @@ NetworkIBModel::NetworkIBModel(const std::string& name) : NetworkSmpiModel(name)
 
 void NetworkIBModel::compute_IB_factors(IBNode* root) const
 {
-  double num_comm_out    = root->active_comms_up_.size();
+  size_t num_comm_out    = root->active_comms_up_.size();
   double max_penalty_out = 0.0;
   // first, compute all outbound penalties to get their max
   for (ActiveComm const* comm : root->active_comms_up_) {