Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Should fix a build error happening on 32bits architectures, related to the size of...
[simgrid.git] / src / surf / network_constant.cpp
index e813122ade1c3f2f81298fc8fc4074a68450a802..c331629c13b045d4c2bc347673d56e203094cde0 100644 (file)
@@ -58,7 +58,7 @@ void NetworkConstantModel::updateActionsState(double /*now*/, double delta)
        action = static_cast<NetworkConstantActionPtr>(&*it);
     if (action->m_latency > 0) {
       if (action->m_latency > delta) {
-        double_update(&(action->m_latency), delta);
+        double_update(&(action->m_latency), delta, sg_surf_precision);
       } else {
         action->m_latency = 0.0;
       }