summaryrefslogtreecommitdiff
path: root/src/theory/arith/delta_rational.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/arith/delta_rational.cpp')
-rw-r--r--src/theory/arith/delta_rational.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/theory/arith/delta_rational.cpp b/src/theory/arith/delta_rational.cpp
index 90529529a..0c94b1d08 100644
--- a/src/theory/arith/delta_rational.cpp
+++ b/src/theory/arith/delta_rational.cpp
@@ -8,3 +8,9 @@ std::ostream& CVC4::operator<<(std::ostream& os, const DeltaRational& dq){
return os << "(" << dq.getNoninfintestimalPart()
<< "," << dq.getInfintestimalPart() << ")";
}
+
+
+std::string DeltaRational::toString() const {
+ return "(" + getNoninfintestimalPart().toString() + "," +
+ getInfintestimalPart().toString() + ")";
+}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback