summaryrefslogtreecommitdiff
path: root/src/theory/arith/arith_rewriter.cpp
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2012-12-14 20:09:54 -0500
committerTim King <taking@cs.nyu.edu>2012-12-14 20:09:54 -0500
commitedf971e2934367d160830a35e97a2e664e742b28 (patch)
tree07715a33a93a8edf2aec5afd71f71fb9b1c7d012 /src/theory/arith/arith_rewriter.cpp
parent5d0d0b56d1383f1ad4027d8e6dc739c12cacced8 (diff)
Changing the rewriter to use Boute's Euclidean definition of division.
Diffstat (limited to 'src/theory/arith/arith_rewriter.cpp')
-rw-r--r--src/theory/arith/arith_rewriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/arith/arith_rewriter.cpp b/src/theory/arith/arith_rewriter.cpp
index a367b8599..823b61df5 100644
--- a/src/theory/arith/arith_rewriter.cpp
+++ b/src/theory/arith/arith_rewriter.cpp
@@ -338,7 +338,7 @@ RewriteResponse ArithRewriter::rewriteIntsDivModTotal(TNode t, bool pre){
bool isDiv = (k == kind::INTS_DIVISION || k == kind::INTS_DIVISION_TOTAL);
- Integer result = isDiv ? ni.floorDivideQuotient(di) : ni.floorDivideRemainder(di);
+ Integer result = isDiv ? ni.euclidianDivideQuotient(di) : ni.euclidianDivideRemainder(di);
Node resultNode = mkRationalNode(Rational(result));
return RewriteResponse(REWRITE_DONE, resultNode);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback