3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 21:38:44 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-12-02 09:19:23 -08:00
parent 2bf9b5ca8b
commit 7b0327dbad

View file

@ -1452,7 +1452,8 @@ public:
theory_var sz = static_cast<theory_var>(th.get_num_vars());
for (theory_var v = 0; v < sz; ++v) {
if (th.is_relevant_and_shared(get_enode(v))) {
vars.push_back(m_theory_var2var_index[v]);
lp:: var_index vi = m_theory_var2var_index[v];
if (vi != UINT_MAX) vars.push_back(vi);
}
}
if (vars.empty()) {