summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/sygus/synth_conjecture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/quantifiers/sygus/synth_conjecture.cpp')
-rw-r--r--src/theory/quantifiers/sygus/synth_conjecture.cpp12
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:
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback