mirror of
https://github.com/Z3Prover/z3
synced 2025-05-08 08:15:47 +00:00
bug fixes in uninitialized variables
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
d7f9a3b37d
commit
6f273e7b8f
4 changed files with 11 additions and 2 deletions
|
@ -29,6 +29,7 @@ namespace sat {
|
|||
m_counter(0) {
|
||||
updt_params(p);
|
||||
reset_statistics();
|
||||
m_calls = 0;
|
||||
}
|
||||
|
||||
struct clause_size_lt {
|
||||
|
@ -57,6 +58,9 @@ namespace sat {
|
|||
};
|
||||
|
||||
void asymm_branch::operator()(bool force) {
|
||||
++m_calls;
|
||||
if (m_calls <= 1)
|
||||
return;
|
||||
if (!m_asymm_branch && !m_asymm_branch_all)
|
||||
return;
|
||||
s.propagate(false); // must propagate, since it uses s.push()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue