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:
parent
ba5cec7704
commit
a9f8ec1bcb
10 changed files with 112 additions and 36 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue