mirror of
https://github.com/Z3Prover/z3
synced 2025-06-27 00:18:45 +00:00
fix sat model converter to work with incrementality
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
a5b663c52d
commit
c199344bbf
8 changed files with 198 additions and 200 deletions
|
@ -324,6 +324,11 @@ namespace sat {
|
|||
m_entries.append(src.m_entries);
|
||||
}
|
||||
|
||||
void model_converter::flush(model_converter & src) {
|
||||
m_entries.append(src.m_entries);
|
||||
src.m_entries.reset();
|
||||
}
|
||||
|
||||
void model_converter::collect_vars(bool_var_set & s) const {
|
||||
for (entry const & e : m_entries) s.insert(e.m_var);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue