summaryrefslogtreecommitdiff
path: root/src/theory/strings/inference_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/strings/inference_manager.cpp')
-rw-r--r--src/theory/strings/inference_manager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theory/strings/inference_manager.cpp b/src/theory/strings/inference_manager.cpp
index 97f9666bd..56a46eed5 100644
--- a/src/theory/strings/inference_manager.cpp
+++ b/src/theory/strings/inference_manager.cpp
@@ -123,8 +123,9 @@ void InferenceManager::sendInference(const std::vector<Node>& exp,
{
return;
}
+ Node atom = eq.getKind() == NOT ? eq[0] : eq;
// check if we should send a lemma or an inference
- if (asLemma || eq == d_false || eq.getKind() == OR || !exp_n.empty()
+ if (asLemma || atom == d_false || atom.getKind() == OR || !exp_n.empty()
|| options::stringInferAsLemmas())
{
Node eq_exp;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback