summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2019-02-14 23:18:47 -0800
committerAndres Noetzli <andres.noetzli@gmail.com>2019-02-14 23:18:47 -0800
commitb6e6f76371b2da8e45e2666d3e6d3d0dd78beb84 (patch)
tree31114cd911907143c65e3b64dcdb7e48f74d3039
parent88ae8a77ddbada15868682cef9f736093dfd8275 (diff)
No conflict, no interest
-rw-r--r--src/theory/strings/theory_strings.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/theory/strings/theory_strings.cpp b/src/theory/strings/theory_strings.cpp
index 8e33ff199..319315d09 100644
--- a/src/theory/strings/theory_strings.cpp
+++ b/src/theory/strings/theory_strings.cpp
@@ -1873,7 +1873,11 @@ void TheoryStrings::checkExtfInference( Node n, Node nr, ExtfInfoTmp& in, int ef
}
else
{
- do_infer = !areEqual(lit, pol ? d_true : d_false);
+ do_infer = areEqual(lit, !pol ? d_true : d_false);
+ }
+ if (hasTerm(lit))
+ {
+ getExtTheory()->markReduced(lit);
}
if (do_infer)
{
@@ -1885,8 +1889,6 @@ void TheoryStrings::checkExtfInference( Node n, Node nr, ExtfInfoTmp& in, int ef
d_extf_info_tmp[ofrom].d_exp.begin(),
d_extf_info_tmp[ofrom].d_exp.end());
sendInference(exp_c, conc, "CTN_Trans2");
- } else if (hasTerm(lit)) {
- getExtTheory()->markReduced(lit);
}
}
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback