Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics
authorArnaud Legrand <arnaud.legrand@imag.fr>
Fri, 2 Mar 2012 15:28:45 +0000 (16:28 +0100)
committerArnaud Legrand <arnaud.legrand@imag.fr>
Mon, 5 Mar 2012 11:05:12 +0000 (12:05 +0100)
src/surf/network.c

index ef75a3a..47e1030 100644 (file)
@@ -522,11 +522,10 @@ static double net_share_resources_lazy(double now)
   }
 
   //hereafter must have already the min value for this resource model
-  if (xbt_heap_size(net_action_heap) > 0) {
+  if (xbt_heap_size(net_action_heap) > 0)
     min = xbt_heap_maxkey(net_action_heap) - now;
-  } else {
+  else
     min = -1;
-  }
 
   XBT_DEBUG("The minimum with the HEAP %lf", min);