diff options
Diffstat (limited to 'src/theory/quantifiers/sygus/synth_conjecture.cpp')
-rw-r--r-- | src/theory/quantifiers/sygus/synth_conjecture.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/theory/quantifiers/sygus/synth_conjecture.cpp b/src/theory/quantifiers/sygus/synth_conjecture.cpp index 21079aedc..e668b2206 100644 --- a/src/theory/quantifiers/sygus/synth_conjecture.cpp +++ b/src/theory/quantifiers/sygus/synth_conjecture.cpp @@ -705,17 +705,17 @@ class EnumValGeneratorBasic : public EnumValGenerator } Node next = *d_te; ++d_te; - Node nextb = d_tds->sygusToBuiltin(next); if (options::sygusSymBreakDynamic()) { + Node nextb = d_tds->sygusToBuiltin(next); nextb = d_tds->getExtRewriter()->extendedRewrite(nextb); - } - if (d_cache.find(nextb) == d_cache.end()) - { + if (d_cache.find(nextb) != d_cache.end()) + { + return getNext(); + } d_cache.insert(nextb); - return next; } - return getNext(); + return next; } private: |