3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 09:34:08 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-12-21 17:21:04 -08:00
parent 95db37d105
commit 99cc4747c5

View file

@ -815,7 +815,9 @@ private:
mdl = alloc(model, m);
for (sat::bool_var v = 0; v < ll_m.size(); ++v) {
expr* n = m_sat_mc->var2expr(v);
if (!n || (is_app(n) && to_app(n)->get_num_args() > 0)) continue;
if (!n || !is_app(n) || to_app(n)->get_num_args() > 0) {
continue;
}
switch (sat::value_at(v, ll_m)) {
case l_true:
mdl->register_decl(to_app(n)->get_decl(), m.mk_true());