diff options
author | Tim King <taking@cs.nyu.edu> | 2012-12-14 20:09:54 -0500 |
---|---|---|
committer | Tim King <taking@cs.nyu.edu> | 2012-12-14 20:09:54 -0500 |
commit | edf971e2934367d160830a35e97a2e664e742b28 (patch) | |
tree | 07715a33a93a8edf2aec5afd71f71fb9b1c7d012 /src/theory/arith/arith_rewriter.cpp | |
parent | 5d0d0b56d1383f1ad4027d8e6dc739c12cacced8 (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.cpp | 2 |
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); |