From: alegrand Date: Tue, 16 Oct 2007 13:54:48 +0000 (+0000) Subject: 'major bug' fix in ptask_L07. X-Git-Tag: v3.3~968 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/696ec0996333921498c4827ca4f57f6ce40c1d53 '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 --- 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]); } } }