3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00

fix extraction of trail

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-01-30 09:06:41 -08:00
parent 08ce6f7ac1
commit 35eb21bc35
2 changed files with 2 additions and 2 deletions

View file

@ -324,7 +324,7 @@ public:
depth.resize(sz);
for (unsigned i = 0; i < sz; ++i) {
auto bv = m_map.to_bool_var(vars[i]);
depth = bv == sat::null_bool_var ? UINT_MAX : m_solver.lvl(bv);
depth[i] = bv == sat::null_bool_var ? UINT_MAX : m_solver.lvl(bv);
}
}