mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
misc
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
3f862cb2ee
commit
02084dc95b
|
@ -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);
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue