summaryrefslogtreecommitdiff
path: root/Config/Cost.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Config/Cost.hs')
-rw-r--r--Config/Cost.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Config/Cost.hs b/Config/Cost.hs
index dc391a5a5..2d94a6b15 100644
--- a/Config/Cost.hs
+++ b/Config/Cost.hs
@@ -65,7 +65,7 @@ costBetween x y
| x == y = x
| x > y = -- avoid fractions unless needed
let mid = y + (x - y) / 2
- mid' = fromIntegral ((floor mid) :: Int)
+ mid' = fromIntegral (floor mid :: Int)
in if mid' > y then mid' else mid
| otherwise = costBetween y x