Skip to content

Commit

Permalink
Style nits (STYLE_GUIDE.md)
Browse files Browse the repository at this point in the history
  • Loading branch information
moodmosaic committed Oct 8, 2020
1 parent a17fc72 commit b67309e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hedgehog/src/Hedgehog/Internal/Range.hs
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,8 @@ scaleLinear sz0 z0 n0 =
-- @rng@ has magnitude 1 bigger than the biggest diff
-- i.e. it specifies the range the diff can be in [0,rng)
-- with the upper bound being exclusive
rng = n - z + signum (n - z)
rng =
n - z + signum (n - z)

diff =
(rng * fromIntegral sz) `quot` 100
Expand Down

0 comments on commit b67309e

Please sign in to comment.