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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/theory/quantifiers/sygus/synth_conjecture.cpp b/src/theory/quantifiers/sygus/synth_conjecture.cpp
index ca4feda32..e30f9771c 100644
--- a/src/theory/quantifiers/sygus/synth_conjecture.cpp
+++ b/src/theory/quantifiers/sygus/synth_conjecture.cpp
@@ -1050,7 +1050,7 @@ void SynthConjecture::printSynthSolution(std::ostream& out)
Node prog = d_embed_quant[0][i];
int status = statuses[i];
TypeNode tn = prog.getType();
- const Datatype& dt = static_cast<DatatypeType>(tn.toType()).getDatatype();
+ const DType& dt = tn.getDType();
std::stringstream ss;
ss << prog;
std::string f(ss.str());
@@ -1113,7 +1113,7 @@ void SynthConjecture::printSynthSolution(std::ostream& out)
// pvs stores the variables that will be printed in the argument list
// below.
std::vector<Node> pvs;
- Node vl = Node::fromExpr(dt.getSygusVarList());
+ Node vl = dt.getSygusVarList();
if (!vl.isNull())
{
Assert(vl.getKind() == BOUND_VAR_LIST);
@@ -1176,9 +1176,9 @@ bool SynthConjecture::getSynthSolutions(
}
// convert to lambda
TypeNode tn = d_embed_quant[0][i].getType();
- const Datatype& dt = static_cast<DatatypeType>(tn.toType()).getDatatype();
+ const DType& dt = tn.getDType();
Node fvar = d_quant[0][i];
- Node bvl = Node::fromExpr(dt.getSygusVarList());
+ Node bvl = dt.getSygusVarList();
if (!bvl.isNull())
{
// since we don't have function subtyping, this assertion should only
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback