From dd8dd2cc88b1653e129cf5f711f34a1aaab41e67 Mon Sep 17 00:00:00 2001 From: Carl Park Date: Tue, 31 Mar 2020 17:24:35 +0900 Subject: [PATCH] fix typo --- src/math.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/math.sol b/src/math.sol index 5ea5761..0ca13c8 100644 --- a/src/math.sol +++ b/src/math.sol @@ -46,7 +46,7 @@ contract DSMath { function wmul(uint x, uint y) internal pure returns (uint z) { z = add(mul(x, y), WAD / 2) / WAD; } - //rounds to zero if x*y < WAD / 2 + //rounds to zero if x*y < RAY / 2 function rmul(uint x, uint y) internal pure returns (uint z) { z = add(mul(x, y), RAY / 2) / RAY; }