diff options
Diffstat (limited to 'algos.c')
-rw-r--r-- | algos.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -71,7 +71,7 @@ void max_clique_c(const graph g, set k, set c, set a, set *mc) { int heur = u; while (!is_set_empty(c_it)) { - int uprime = elt_of_set(c_it); + int uprime = elt_of_set_heur(c_it, heur); heur = uprime; set_remove_ip(uprime, c_it); @@ -89,7 +89,7 @@ void max_clique_c(const graph g, set k, set c, set a, set *mc) { set t = set_diff(a, graph_neighbours(g, u)); heur = u; while (!is_set_empty(t)) { - int x = elt_of_set(t); + int x = elt_of_set_heur(t, heur); heur = x; set k2 = set_add(x, k); |