summaryrefslogtreecommitdiff
path: root/src/theory
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-01-23 15:53:48 -0600
committerGitHub <noreply@github.com>2020-01-23 15:53:48 -0600
commitdd29958ff0c78c099f540f080e455d843caf1c6b (patch)
tree4f3d6edfdb60463eff7c22001220adddebd30b81 /src/theory
parentfd88b18c0db55eb63d0cd0454b19810a8abee789 (diff)
Fix trivial solve method for single invocation (#3650)
Diffstat (limited to 'src/theory')
-rw-r--r--src/theory/quantifiers/sygus/ce_guided_single_inv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/quantifiers/sygus/ce_guided_single_inv.cpp b/src/theory/quantifiers/sygus/ce_guided_single_inv.cpp
index e36047e67..b6750c5da 100644
--- a/src/theory/quantifiers/sygus/ce_guided_single_inv.cpp
+++ b/src/theory/quantifiers/sygus/ce_guided_single_inv.cpp
@@ -676,7 +676,7 @@ bool CegSingleInv::solveTrivial(Node q)
}
}
// if we solved all arguments
- if (args.empty())
+ if (args.empty() && body.isConst() && !body.getConst<bool>())
{
Trace("cegqi-si-trivial-solve")
<< q << " is trivially solvable by substitution " << vars << " -> "
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback