Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
- Add wifi link
[simgrid.git] / src / surf / network_cm02.cpp
index 68bba70..7a47fa4 100644 (file)
@@ -272,8 +272,8 @@ NetworkCm02Link::NetworkCm02Link(NetworkCm02Model* model, const std::string& nam
     : NetworkCm02Link(model, name, 0, 0, policy, system)
 {
   /* Setup Metrics for bandwidths_ */
     : NetworkCm02Link(model, name, 0, 0, policy, system)
 {
   /* Setup Metrics for bandwidths_ */
-  for (auto bandwith : bandwidths) {
-    bandwidths_.push_back({bandwith, 1.0, nullptr});
+  for (auto bandwidth : bandwidths) {
+    bandwidths_.push_back({bandwidth, 1.0, nullptr});
   }
 }
 
   }
 }