3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00

updated handling of value initialization for bit-vectors

This commit is contained in:
Nikolaj Bjorner 2024-09-22 21:30:11 +03:00
parent ba5cec7704
commit a9f8ec1bcb
10 changed files with 112 additions and 36 deletions

View file

@ -311,11 +311,10 @@ namespace opt {
}
solver& s = get_solver();
s.assert_expr(m_hard_constraints);
for (auto & [var, value] : m_scoped_state.m_values) {
if (m_model_converter)
m_model_converter->convert_initialize_value(var, value);
if (m_model_converter)
m_model_converter->convert_initialize_value(m_scoped_state.m_values);
for (auto & [var, value] : m_scoped_state.m_values)
s.user_propagate_initialize_value(var, value);
}
opt_params optp(m_params);
symbol pri = optp.priority();