Skip to content

Commit

Permalink
Fixing up
Browse files Browse the repository at this point in the history
  • Loading branch information
msoos committed Feb 28, 2024
1 parent 75f5149 commit e3f3a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sbva.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ class Formula {
void init_cnf(uint32_t _num_vars) {
num_vars = _num_vars;
lit_count_adjust.resize(num_vars * 2);
lit_to_clauses.resize(num_vars * 2);
adjacency_matrix_width = num_vars * 4;
adjacency_matrix.resize(num_vars);
found_header = true;
Expand Down Expand Up @@ -210,7 +211,6 @@ class Formula {
} else if (line[0] == 'p') {
sscanf(line, "p cnf %lu %lu", &num_vars, &num_clauses);
clauses.resize(num_clauses);
clauses.reserve(num_clauses * 10);
lit_to_clauses.resize(num_vars * 2);
lit_count_adjust.resize(num_vars * 2);
adjacency_matrix_width = num_vars * 4;
Expand Down

0 comments on commit e3f3a20

Please sign in to comment.