diff --git a/others/large_number.h b/others/large_number.h index 4f3851053..38d9125de 100644 --- a/others/large_number.h +++ b/others/large_number.h @@ -207,7 +207,7 @@ class large_number { * operator overload to perform addition **/ template - friend large_number &operator+(const large_number &a, const T &b) { + friend large_number &operator+(large_number &a, const T &b) { a += b; return a; }