summaryrefslogtreecommitdiff
path: root/src/theory/arith
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/arith')
-rw-r--r--src/theory/arith/dio_solver.cpp2
-rw-r--r--src/theory/arith/theory_arith_instantiator.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/arith/dio_solver.cpp b/src/theory/arith/dio_solver.cpp
index e3eae88b3..83ba49257 100644
--- a/src/theory/arith/dio_solver.cpp
+++ b/src/theory/arith/dio_solver.cpp
@@ -28,7 +28,7 @@ namespace arith {
inline Node makeIntegerVariable(){
NodeManager* curr = NodeManager::currentNM();
- return curr->mkVar(curr->integerType());
+ return curr->mkSkolem(curr->integerType());
}
DioSolver::DioSolver(context::Context* ctxt) :
diff --git a/src/theory/arith/theory_arith_instantiator.cpp b/src/theory/arith/theory_arith_instantiator.cpp
index 1682897ae..51e3a6638 100644
--- a/src/theory/arith/theory_arith_instantiator.cpp
+++ b/src/theory/arith/theory_arith_instantiator.cpp
@@ -412,7 +412,7 @@ Node InstantiatorTheoryArith::getDelta( Node n ){
if( it==d_deltas.end() ){
std::ostringstream os;
os << "delta_" << d_deltas.size();
- Node delta = NodeManager::currentNM()->mkVar( os.str(), n.getType() );
+ Node delta = NodeManager::currentNM()->mkSkolem( os.str(), n.getType() );
d_deltas[ n.getType() ] = delta;
Node gt = NodeManager::currentNM()->mkNode( GT, delta, NodeManager::currentNM()->mkConst( Rational(0) ) );
//add split
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback