summaryrefslogtreecommitdiff
path: root/algos.c
diff options
context:
space:
mode:
Diffstat (limited to 'algos.c')
-rw-r--r--algos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/algos.c b/algos.c
index 60e94fa..630a719 100644
--- a/algos.c
+++ b/algos.c
@@ -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);