Skip to content

Commit

Permalink
ES: Don't update rank after adoption
Browse files Browse the repository at this point in the history
  • Loading branch information
l4haie committed Feb 4, 2025
1 parent a1a2e01 commit d6d2bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/host/c/es.c
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ bool adopt(obj x) {
// FIXME not sure about the second condition
if (get_rank(cfr) < rank && get_rank(cfr) > 0) {
set_parent(x, cfr, get_mirror_field(x, cfr)-3);
set_rank(x, get_rank(cfr)+1);
// set_rank(x, get_rank(cfr)+1);
return 1;
}
cfr = next_cofriend(x, cfr);
Expand Down

0 comments on commit d6d2bbf

Please sign in to comment.