summaryrefslogtreecommitdiff
path: root/src/theory/arith
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/arith')
-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 6b38dacce..345109c5b 100644
--- a/src/theory/arith/arith_rewriter.cpp
+++ b/src/theory/arith/arith_rewriter.cpp
@@ -61,7 +61,7 @@ RewriteResponse ArithRewriter::rewriteMinus(TNode t, bool pre){
}
}else{
Polynomial minuend = Polynomial::parsePolynomial(t[0]);
- Polynomial subtrahend = Polynomial::parsePolynomial(t[0]);
+ Polynomial subtrahend = Polynomial::parsePolynomial(t[1]);
Polynomial diff = minuend - subtrahend;
return RewriteResponse(REWRITE_DONE, diff.getNode());
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback