Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Bug fix. The date given when updating the state of a resource was incorrect. It could...
[simgrid.git] / src / surf / surf.c
index 6b03d70..8a1b6dd 100644 (file)
@@ -629,7 +629,7 @@ double surf_solve(double max_date)
              resource->model->name, min);
       resource->model->model_private->update_resource_state(resource,
                                                             event, value,
-                                                            NOW + min);
+                                                            next_event_date);
     }
   } while (1);