Wrong return

This commit is contained in:
Ashish Bhanu Daulatabad 2021-04-11 00:27:27 +05:30
parent 581753c65c
commit bb40ea4ca5

View File

@ -198,7 +198,7 @@ class uint256_t {
*/
inline uint256_t operator+(const uint256_t &p) {
bool app = s + p.s < s;
return {f + app + p.f, p.s + s};
return uint256_t(f + app + p.f, p.s + s);
}
/**