using less memory

This commit is contained in:
fc_botelho 2005-01-03 21:38:59 +00:00
parent bda9c46618
commit 900e0a62f2

View File

@ -190,7 +190,7 @@ static void bmz_traverse_critical_nodes(bmz_mph_data_t *bmz, uint32 v, uint32 *
uint32 u; /* Auxiliary vertex */ uint32 u; /* Auxiliary vertex */
uint32 lav; /* lookahead vertex */ uint32 lav; /* lookahead vertex */
uint8 collision; 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; graph_iterator_t it, it1;
DEBUGP("Labelling critical vertices\n"); DEBUGP("Labelling critical vertices\n");