diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2019-11-29 18:24:30 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-29 18:24:30 -0600 |
commit | 9f66cbe823294a5f64d07b512622c9590a286d9b (patch) | |
tree | c7f7f6585770130dd80a47e09d770a30b00ff29f /src | |
parent | 043de624d75615ae0f5b163e2effb44cac0885a3 (diff) |
Fix fast SyGuS enumeration for interpreted constants (#3501)
Diffstat (limited to 'src')
-rw-r--r-- | src/theory/quantifiers/sygus/sygus_enumerator.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/theory/quantifiers/sygus/sygus_enumerator.cpp b/src/theory/quantifiers/sygus/sygus_enumerator.cpp index 472a82e29..e4c23977e 100644 --- a/src/theory/quantifiers/sygus/sygus_enumerator.cpp +++ b/src/theory/quantifiers/sygus/sygus_enumerator.cpp @@ -996,6 +996,10 @@ bool SygusEnumerator::TermEnumMasterInterp::initialize(SygusEnumerator* se, Node SygusEnumerator::TermEnumMasterInterp::getCurrent() { return *d_te; } bool SygusEnumerator::TermEnumMasterInterp::increment() { + if (d_te.isFinished()) + { + return false; + } SygusEnumerator::TermCache& tc = d_se->d_tcache[d_tn]; Node curr = getCurrent(); tc.addTerm(curr); |