3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 12:08:18 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-07-31 01:21:16 -07:00
parent 3f862cb2ee
commit 02084dc95b
2 changed files with 3 additions and 3 deletions

View file

@ -236,7 +236,7 @@ br_status bool_rewriter::mk_nflat_or_core(unsigned num_args, expr * const * args
unsigned sz = buffer.size(); unsigned sz = buffer.size();
switch(sz) { switch (sz) {
case 0: case 0:
result = m().mk_false(); result = m().mk_false();
return BR_DONE; return BR_DONE;
@ -298,7 +298,7 @@ br_status bool_rewriter::mk_flat_or_core(unsigned num_args, expr * const * args,
} }
expr * bool_rewriter::mk_or_app(unsigned num_args, expr * const * args) { expr * bool_rewriter::mk_or_app(unsigned num_args, expr * const * args) {
switch(num_args) { switch (num_args) {
case 0: return m().mk_false(); case 0: return m().mk_false();
case 1: return args[0]; case 1: return args[0];
default: return m().mk_or(num_args, args); default: return m().mk_or(num_args, args);

View file

@ -205,7 +205,7 @@ public:
void try_add_equation_with_val_table(const vertex *v) { void try_add_equation_with_val_table(const vertex *v) {
SASSERT(m_fixed_vertex); SASSERT(m_fixed_vertex);
unsigned v_j = v->column(); unsigned v_j = v->column();
vertex *u; vertex *u = nullptr;
if (!m_vals_to_verts.find(val(v_j), u)) { if (!m_vals_to_verts.find(val(v_j), u)) {
m_vals_to_verts.insert(val(v_j), u); m_vals_to_verts.insert(val(v_j), u);
return; return;