mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
build
This commit is contained in:
parent
0bd6725711
commit
d88f125818
2 changed files with 3 additions and 7 deletions
|
@ -378,9 +378,7 @@ namespace smt {
|
|||
break;
|
||||
case l_true: {
|
||||
expr * true_arg = nullptr;
|
||||
unsigned num_args = n->get_num_args();
|
||||
for (unsigned i = 0; i < num_args; i++) {
|
||||
expr * arg = n->get_arg(i);
|
||||
for (expr* arg : *n) {
|
||||
if (m_context.find_assignment(arg) == l_true) {
|
||||
if (is_relevant_core(arg))
|
||||
return;
|
||||
|
@ -402,9 +400,7 @@ namespace smt {
|
|||
switch (val) {
|
||||
case l_false: {
|
||||
expr * false_arg = nullptr;
|
||||
unsigned num_args = n->get_num_args();
|
||||
for (unsigned i = 0; i < num_args; i++) {
|
||||
expr * arg = n->get_arg(i);
|
||||
for (expr* arg : *n) {
|
||||
if (m_context.find_assignment(arg) == l_false) {
|
||||
if (is_relevant_core(arg))
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue