diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-01-23 15:53:48 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-23 15:53:48 -0600 |
commit | dd29958ff0c78c099f540f080e455d843caf1c6b (patch) | |
tree | 4f3d6edfdb60463eff7c22001220adddebd30b81 /src/theory/quantifiers/sygus | |
parent | fd88b18c0db55eb63d0cd0454b19810a8abee789 (diff) |
Fix trivial solve method for single invocation (#3650)
Diffstat (limited to 'src/theory/quantifiers/sygus')
-rw-r--r-- | src/theory/quantifiers/sygus/ce_guided_single_inv.cpp | 2 |
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 << " -> " |