Skip to content

Commit 3d5d860

Browse files
committed
test suite tweaks -- should double check :)
1 parent 4554e63 commit 3d5d860

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Utilities.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ minIndex = fst . foldr1 imin . zip [0..]
336336
maxIndex :: Ord a => [a] -> Int
337337
maxIndex = fst . foldr1 imax . zip [0..]
338338
where
339-
imax (i,x) (j,y) | x > y = (i,x)
339+
imax (i,x) (j,y) | x >= y = (i,x)
340340
| otherwise = (j,y)
341341

342342
iterateNM :: Monad m => Int -> (a -> m a) -> a -> m [a]

0 commit comments

Comments
 (0)