Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisGD committed Nov 13, 2023
1 parent 03b9684 commit 3d5e144
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/SpeedJumpIrmTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,9 @@ contract AdaptativeCurveIrmTest is Test {
function _curve(uint256 rateAtTarget, int256 err) internal pure returns (uint256) {
// Safe "unchecked" cast because err >= -1 (in WAD).
if (err < 0) {
return uint256((WAD_INT - WAD_INT.wDivDown(CURVE_STEEPNESS_INT)).wMulDown(err) + WAD_INT).wMulDown(rateAtTarget);
return uint256((WAD_INT - WAD_INT.wDivDown(CURVE_STEEPNESS_INT)).wMulDown(err) + WAD_INT).wMulDown(
rateAtTarget
);
} else {
return uint256((CURVE_STEEPNESS_INT - WAD_INT).wMulDown(err) + WAD_INT).wMulDown(rateAtTarget);
}
Expand Down

0 comments on commit 3d5e144

Please sign in to comment.