summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-01-10 15:31:01 -0600
committerGitHub <noreply@github.com>2020-01-10 15:31:01 -0600
commit81a2e226251bea677f6a920004e846a08072c851 (patch)
treef7bb175c0bc50d1a5d5e392f5a9ca744fc13dc03 /src
parent663f301280afd40895ea8398a5a77acd8e89a08e (diff)
Fix side condition check in sygus core connective (#3600)
Diffstat (limited to 'src')
-rw-r--r--src/theory/quantifiers/sygus/cegis_core_connective.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/theory/quantifiers/sygus/cegis_core_connective.cpp b/src/theory/quantifiers/sygus/cegis_core_connective.cpp
index a8c4cb0d1..a924873d0 100644
--- a/src/theory/quantifiers/sygus/cegis_core_connective.cpp
+++ b/src/theory/quantifiers/sygus/cegis_core_connective.cpp
@@ -805,6 +805,10 @@ Node CegisCoreConnective::constructSolutionFromPool(Component& ccheck,
scasserts.insert(scasserts.end(), uasserts.begin(), uasserts.end());
scasserts.push_back(d_sc);
std::shuffle(scasserts.begin(), scasserts.end(), Random::getRandom());
+ for (const Node& sca : scasserts)
+ {
+ checkSc.assertFormula(sca.toExpr());
+ }
Result rsc = checkSc.checkSat();
Trace("sygus-ccore")
<< "----- check-sat returned " << rsc << std::endl;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback