Skip to content

Commit

Permalink
XOR is now easier to parse for caque
Browse files Browse the repository at this point in the history
  • Loading branch information
msoos committed Jan 10, 2024
1 parent 3c3d163 commit 807e801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/counter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ void Counter::dump_cnf_from_solver(const vector<Lit>& assumps, const uint32_t it
for(const auto& cl: cls_in_solver) f << cl << " 0" << endl;
f << "c XORs below" << endl;
for(const auto& x: xors_in_solver) {
f << "x";
f << "x ";
for(uint32_t i = 0; i < x.first.size(); i++) {
if (i == 0 && !x.second) f << "-";
f << (x.first[i]+1) << " ";
Expand Down

0 comments on commit 807e801

Please sign in to comment.