Skip to content

Commit

Permalink
Valgrind Checks: dealing with an insertion of -1
Browse files Browse the repository at this point in the history
  • Loading branch information
jackbergus committed Oct 2, 2024
1 parent 5b37203 commit 1e3f55f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/knobab/mining/polyadic/polyadic_bolt.h
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ struct polyadic_bolt {
first.clear();
last.clear();
for (int i = 0; i<max_act_id; i++) {
event_to_root.emplace_back(-1);
event_to_root.emplace_back((size_t)-1);
Beginnings.emplace_back(0);
first.emplace_back(0);
last.emplace_back(0);
Expand Down

0 comments on commit 1e3f55f

Please sign in to comment.