From 05cd623b7418a3a9f6f6a1f61e2a02251042762a Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Tue, 7 Aug 2012 14:08:21 +0200 Subject: [PATCH] fix a bug causing surf to sometimes loop forever --- src/surf/maxmin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/surf/maxmin.c b/src/surf/maxmin.c index a441d1e27e..e9f635de1c 100644 --- a/src/surf/maxmin.c +++ b/src/surf/maxmin.c @@ -659,7 +659,7 @@ void lmm_solve(lmm_system_t sys) make_elem_inactive(elem); elem_list = &(cnst->element_set); xbt_swag_foreach(elem, elem_list) { - make_elem_active(elem); +// make_elem_active(elem); if (elem->variable->weight <= 0 || elem->variable->value > 0) break; if (elem->value > 0) -- 2.20.1