mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
align variable names with dimacs input
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
1bf934e53a
commit
b02c698284
4 changed files with 15 additions and 11 deletions
|
@ -188,6 +188,9 @@ extern "C" {
|
|||
sat2goal s2g;
|
||||
ref<sat2goal::mc> mc;
|
||||
atom2bool_var a2b(m);
|
||||
for (unsigned v = 0; v < solver.num_vars(); ++v) {
|
||||
a2b.insert(m.mk_const(symbol(v), m.mk_bool_sort()), v);
|
||||
}
|
||||
goal g(m);
|
||||
s2g(solver, a2b, to_solver_ref(s)->get_params(), g, mc);
|
||||
for (unsigned i = 0; i < g.size(); ++i) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue