Explorar o código

Fix div return statement

mawinkle %!s(int64=6) %!d(string=hai) anos
pai
achega
94cecf5c14
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      BigInt64.hpp

+ 1 - 0
BigInt64.hpp

@@ -85,6 +85,7 @@ struct BigInt{
 			*it = (uint64_t)(temp / d);
 			carry <<= 64;
 		}
+		return ret;
 	}
 	inline BigInt& div(uint64_t d){
 		lui carry = 0;