From b63e04ee0909c1e59ecb361964848e17c541f013 Mon Sep 17 00:00:00 2001 From: fc_botelho Date: Mon, 3 Jan 2005 21:38:59 +0000 Subject: [PATCH] using less memory --- src/bmz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bmz.c b/src/bmz.c index c0bfd0c..98b8ec6 100644 --- a/src/bmz.c +++ b/src/bmz.c @@ -190,7 +190,7 @@ static void bmz_traverse_critical_nodes(bmz_mph_data_t *bmz, uint32 v, uint32 * uint32 u; /* Auxiliary vertex */ uint32 lav; /* lookahead vertex */ uint8 collision; - vqueue_t * q = vqueue_new(graph_ncritical_nodes(bmz->graph)); + vqueue_t * q = vqueue_new((uint32)(0.5*graph_ncritical_nodes(bmz->graph))); graph_iterator_t it, it1; DEBUGP("Labelling critical vertices\n");