Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
CommWaitTransition mailbox is now valid
[simgrid.git] / src / kernel / resource / WifiLinkImpl.cpp
index 39309a08dd315e7ddb8c73431f4e261ad1510a10..66c0652bf381a1dc94a28fa03dde650cbc4ac3d2 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2019-2021. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2019-2022. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -77,8 +77,6 @@ void WifiLinkImpl::refresh_decay_bandwidths()
     double min_bw     = bandwidth.peak - (wifi_max_rate_ - wifi_min_rate_);
     double model_rate = bandwidth.peak - (wifi_max_rate_ - model_rate_);
 
-    xbt_assert(min_bw > 0, "Your WIFI link is using bandwidth(s) which is too low for the decay model.");
-
     double N0     = max_bw - min_bw;
     double lambda = (-log(model_rate - min_bw) + log(N0)) / model_n_;
     // Since decay model start at 0 we should use (nSTA-1)