mirror of
https://github.com/Z3Prover/z3
synced 2025-08-24 03:57:51 +00:00
fix restart counters
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
0128a1e067
commit
cb61af0496
3 changed files with 33 additions and 17 deletions
|
@ -47,8 +47,9 @@ namespace sls {
|
|||
m_eval.start_propagation();
|
||||
}
|
||||
|
||||
void bv_plugin::propagate_literal(sat::literal lit) {
|
||||
SASSERT(ctx.is_true(lit));
|
||||
void bv_plugin::propagate_literal(sat::literal lit) {
|
||||
if (!ctx.is_true(lit))
|
||||
return;
|
||||
auto e = ctx.atom(lit.var());
|
||||
if (!is_bv_predicate(e))
|
||||
return;
|
||||
|
@ -157,7 +158,8 @@ namespace sls {
|
|||
}
|
||||
|
||||
void bv_plugin::repair_literal(sat::literal lit) {
|
||||
SASSERT(ctx.is_true(lit));
|
||||
if (!ctx.is_true(lit))
|
||||
return;
|
||||
auto e = ctx.atom(lit.var());
|
||||
if (!is_bv_predicate(e))
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue