mirror of
https://github.com/Z3Prover/z3
synced 2025-05-05 23:05:46 +00:00
count
This commit is contained in:
parent
3d27ec41d0
commit
9cc9d1fac4
5 changed files with 14 additions and 5 deletions
|
@ -46,7 +46,7 @@ namespace polysat {
|
|||
}
|
||||
|
||||
void bool_var_manager::del_var(sat::bool_var var) {
|
||||
SASSERT(std::count(m_unused.begin(), m_unused.end(), var) == 0);
|
||||
SASSERT(count(m_unused, var) == 0);
|
||||
auto lit = sat::literal(var);
|
||||
m_value[lit.index()] = l_undef;
|
||||
m_value[(~lit).index()] = l_undef;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue