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 2d94a6b15..44a26f064 100644
--- a/Config/Cost.hs
+++ b/Config/Cost.hs
@@ -52,7 +52,7 @@ insertCostAfter l pos
| otherwise =
firstsegment ++ [costBetween item nextitem ] ++ lastsegment
where
- nextpos = pos + 1
+ nextpos = pos + 1
maxpos = length l - 1
item = l !! pos