From: Andrew Reynolds Date: Wed, 10 Oct 2018 21:56:27 +0000 (-0500) Subject: Fix cegis so that evaluation unfolding is not interleaved. (#2614) X-Git-Tag: cvc5-1.0.0~4439 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aa84926fb81001cc86661dead2ac5b856dd45ba3;p=cvc5.git Fix cegis so that evaluation unfolding is not interleaved. (#2614) --- diff --git a/src/theory/quantifiers/sygus/cegis.cpp b/src/theory/quantifiers/sygus/cegis.cpp index 2e7f0cc02..06f041d93 100644 --- a/src/theory/quantifiers/sygus/cegis.cpp +++ b/src/theory/quantifiers/sygus/cegis.cpp @@ -198,6 +198,7 @@ bool Cegis::addEvalLemmas(const std::vector& candidates, Node lem = nm->mkNode( OR, eager_exps[i].negate(), eager_terms[i].eqNode(eager_vals[i])); lems.push_back(lem); + addedEvalLemmas = true; Trace("cegqi-lemma") << "Cegqi::Lemma : evaluation unfold : " << lem << std::endl; }