summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/sygus/synth_conjecture.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-09-03 16:00:26 -0500
committerGitHub <noreply@github.com>2020-09-03 16:00:26 -0500
commit8828e545cfb838d806a0ad382671a9af131e8431 (patch)
treea488c085adf0ba36b2d3a0d24b547c1a2eb29926 /src/theory/quantifiers/sygus/synth_conjecture.cpp
parent31b3986ea297d54e828cd6c34e3689435ba63d7c (diff)
Minor cleanup of quantifiers engine (#4994)
Eventually, QuanitifersEngine should not depend on TheoryEngine. This is a first step in this direction. It eliminates some uses of TheoryEngine and eliminates a unnecessary friend relationship between quantifiers::TermDb and TheoryEngine. Further refactoring will be done in future PRs.
Diffstat (limited to 'src/theory/quantifiers/sygus/synth_conjecture.cpp')
-rw-r--r--src/theory/quantifiers/sygus/synth_conjecture.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/quantifiers/sygus/synth_conjecture.cpp b/src/theory/quantifiers/sygus/synth_conjecture.cpp
index 5b7ad2049..52b24ac1a 100644
--- a/src/theory/quantifiers/sygus/synth_conjecture.cpp
+++ b/src/theory/quantifiers/sygus/synth_conjecture.cpp
@@ -235,7 +235,7 @@ void SynthConjecture::assign(Node q)
d_feasible_guard,
d_qe->getSatContext(),
d_qe->getValuation()));
- d_qe->getTheoryEngine()->getDecisionManager()->registerStrategy(
+ d_qe->getDecisionManager()->registerStrategy(
DecisionManager::STRAT_QUANT_SYGUS_FEASIBLE, d_feasible_strategy.get());
// this must be called, both to ensure that the feasible guard is
// decided on with true polariy, but also to ensure that output channel
@@ -255,7 +255,7 @@ void SynthConjecture::assign(Node q)
{
d_stream_strategy.reset(new SygusStreamDecisionStrategy(
d_qe->getSatContext(), d_qe->getValuation()));
- d_qe->getTheoryEngine()->getDecisionManager()->registerStrategy(
+ d_qe->getDecisionManager()->registerStrategy(
DecisionManager::STRAT_QUANT_SYGUS_STREAM_FEASIBLE,
d_stream_strategy.get());
d_current_stream_guard = d_stream_strategy->getLiteral(0);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback