summaryrefslogtreecommitdiff
path: root/src/theory/arith/delta_rational.h
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2010-06-16 20:26:14 +0000
committerTim King <taking@cs.nyu.edu>2010-06-16 20:26:14 +0000
commitc237443e1fad0ab948f2acb97651dec4f0c34dae (patch)
tree83ccbb9b08fcfbacbacbdc3e717a7e8c3adede7c /src/theory/arith/delta_rational.h
parent22685d657c483ab53c645bb9228bd5d4dd708cf5 (diff)
This commit just contains miscellaneous arithmetic cleanup.
Diffstat (limited to 'src/theory/arith/delta_rational.h')
-rw-r--r--src/theory/arith/delta_rational.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/arith/delta_rational.h b/src/theory/arith/delta_rational.h
index 60db60c1a..78d5fb665 100644
--- a/src/theory/arith/delta_rational.h
+++ b/src/theory/arith/delta_rational.h
@@ -60,7 +60,7 @@ public:
return DeltaRational(tmpC, tmpK);
}
- DeltaRational operator*(CVC4::Rational& a) const{
+ DeltaRational operator*(const Rational& a) const{
CVC4::Rational tmpC = a*c;
CVC4::Rational tmpK = a*k;
return DeltaRational(tmpC, tmpK);
@@ -95,7 +95,7 @@ public:
return *(this);
}
- DeltaRational& operator*=(CVC4::Rational& a){
+ DeltaRational& operator*=(const CVC4::Rational& a){
c = c * a;
k = k * a;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback