diff options
Diffstat (limited to 'src/util/rational_cln_imp.h')
-rw-r--r-- | src/util/rational_cln_imp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/rational_cln_imp.h b/src/util/rational_cln_imp.h index a883500f9..2f2c14ed8 100644 --- a/src/util/rational_cln_imp.h +++ b/src/util/rational_cln_imp.h @@ -258,6 +258,11 @@ public: return (*this); } + Rational& operator/=(const Rational& y){ + d_value /= y.d_value; + return (*this); + } + /** Returns a string representing the rational in the given base. */ std::string toString(int base = 10) const { std::stringstream ss; |