From 696ec0996333921498c4827ca4f57f6ce40c1d53 Mon Sep 17 00:00:00 2001 From: alegrand Date: Tue, 16 Oct 2007 13:54:48 +0000 Subject: [PATCH] 'major bug' fix in ptask_L07. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4823 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/surf/workstation_ptask_L07.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/surf/workstation_ptask_L07.c b/src/surf/workstation_ptask_L07.c index 3e88b40f73..6d50b351bc 100644 --- a/src/surf/workstation_ptask_L07.c +++ b/src/surf/workstation_ptask_L07.c @@ -99,7 +99,7 @@ static void update_action_bound(surf_action_workstation_L07_t action) for (k = 0; k < route_size; k++) { lat += route[k]->lat_current; } - lat_current=MAX(lat_current,lat/action->communication_amount[i * workstation_nb + j]); + lat_current=MAX(lat_current,lat*action->communication_amount[i * workstation_nb + j]); } } } -- 2.20.1