diff options
Diffstat (limited to 'src/theory/arith/theory_arith_private.cpp')
-rw-r--r-- | src/theory/arith/theory_arith_private.cpp | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/theory/arith/theory_arith_private.cpp b/src/theory/arith/theory_arith_private.cpp index b11bff768..349630c02 100644 --- a/src/theory/arith/theory_arith_private.cpp +++ b/src/theory/arith/theory_arith_private.cpp @@ -244,7 +244,7 @@ static void resolve(ConstraintCPVec& buf, ConstraintP c, const ConstraintCPVec& // Assert(uppos < upconf.getNumChildren()); // Assert(equalUpToNegation(dnconf[dnpos], upconf[uppos])); - // NodeBuilder<> nb(kind::AND); + // NodeBuilder nb(kind::AND); // dropPosition(nb, dnconf, dnpos); // dropPosition(nb, upconf, uppos); // return safeConstructNary(nb); @@ -1201,14 +1201,13 @@ Theory::PPAssertStatus TheoryArithPrivate::ppAssert( return Theory::PP_ASSERT_STATUS_UNSOLVED; } -void TheoryArithPrivate::ppStaticLearn(TNode n, NodeBuilder<>& learned) { +void TheoryArithPrivate::ppStaticLearn(TNode n, NodeBuilder& learned) +{ TimerStat::CodeTimer codeTimer(d_statistics.d_staticLearningTimer); d_learner.staticLearning(n, learned); } - - ArithVar TheoryArithPrivate::findShortestBasicRow(ArithVar variable){ ArithVar bestBasic = ARITHVAR_SENTINEL; uint64_t bestRowLength = std::numeric_limits<uint64_t>::max(); @@ -2211,7 +2210,7 @@ std::pair<ConstraintP, ArithVar> TheoryArithPrivate::replayGetConstraint(const C Node toSumNode(const ArithVariables& vars, const DenseMap<Rational>& sum){ Debug("arith::toSumNode") << "toSumNode() begin" << endl; - NodeBuilder<> nb(kind::PLUS); + NodeBuilder nb(kind::PLUS); NodeManager* nm = NodeManager::currentNM(); DenseMap<Rational>::const_iterator iter, end; iter = sum.begin(), end = sum.end(); @@ -4682,7 +4681,7 @@ bool TheoryArithPrivate::tryToPropagate(RowIndex ridx, bool rowUp, ArithVar v, b } Node flattenImplication(Node imp){ - NodeBuilder<> nb(kind::OR); + NodeBuilder nb(kind::OR); std::unordered_set<Node, NodeHashFunction> included; Node left = imp[0]; Node right = imp[1]; @@ -4770,7 +4769,7 @@ bool TheoryArithPrivate::rowImplicationCanBeApplied(RowIndex ridx, bool rowUp, C // Add the explaination proofs. for (const auto constraint : explain) { - NodeBuilder<> nb; + NodeBuilder nb; conflictPfs.push_back(constraint->externalExplainByAssertions(nb)); } // Collect the farkas coefficients, as nodes. @@ -5275,7 +5274,7 @@ void TheoryArithPrivate::entailmentCheckRowSum(std::pair<Node, DeltaRational>& t Assert(Polynomial::isMember(tp)); tmp.second = DeltaRational(0); - NodeBuilder<> nb(kind::AND); + NodeBuilder nb(kind::AND); Polynomial p = Polynomial::parsePolynomial(tp); for(Polynomial::iterator i = p.begin(), iend = p.end(); i != iend; ++i) { @@ -5460,7 +5459,7 @@ std::pair<Node, DeltaRational> TheoryArithPrivate::entailmentCheckSimplex(int sg switch(finalState){ case Inferred: { - NodeBuilder<> nb(kind::AND); + NodeBuilder nb(kind::AND); for(Tableau::RowIterator ri = d_tableau.ridRowIterator(ridx); !ri.atEnd(); ++ri){ const Tableau::Entry& e =*ri; ArithVar colVar = e.getColVar(); @@ -5668,7 +5667,7 @@ std::pair<Node, DeltaRational> TheoryArithPrivate::entailmentCheckSimplex(int sg // switch(finalState){ // case Inferred: // { -// NodeBuilder<> nb(kind::AND); +// NodeBuilder nb(kind::AND); // for(Tableau::RowIterator ri = d_tableau.ridRowIterator(ridx); // !ri.atEnd(); ++ri){ // const Tableau::Entry& e =*ri; |