3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-08 00:05:46 +00:00

fix format bug (issue 126) and smaller nits in sat solver (const annotation, disable elimination of external or already elimianted variables)

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2014-10-04 18:35:18 -07:00
parent fbb01f3699
commit 6a3f75822d
12 changed files with 22 additions and 17 deletions

View file

@ -196,6 +196,7 @@ namespace sat {
s.propagate(false); // make sure propagation queue is empty
if (s.inconsistent())
return true;
SASSERT(s.m_qhead == s.m_trail.size());
CASSERT("probing", s.check_invariant());
if (!force && m_counter > 0)
return true;
@ -259,7 +260,7 @@ namespace sat {
m_to_assert.finalize();
}
void probing::collect_statistics(statistics & st) {
void probing::collect_statistics(statistics & st) const {
st.update("probing assigned", m_num_assigned);
}