mirror of
https://github.com/Z3Prover/z3
synced 2025-04-14 21:08:46 +00:00
remember inconsistent states when cloning
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
65bd427e46
commit
161c83795f
|
@ -120,6 +120,11 @@ namespace sat {
|
|||
m_qhead = 0;
|
||||
m_trail.reset();
|
||||
m_scopes.reset();
|
||||
|
||||
if (src.inconsistent()) {
|
||||
set_conflict(justification());
|
||||
return;
|
||||
}
|
||||
|
||||
// create new vars
|
||||
for (bool_var v = num_vars(); v < src.num_vars(); v++) {
|
||||
|
|
Loading…
Reference in a new issue