Skip to content

Commit

Permalink
micro fix asked by a maintainer
Browse files Browse the repository at this point in the history
  • Loading branch information
Francois Berenger committed Jun 5, 2013
1 parent eaa4676 commit 7643504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/batList.ml
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ let sum l = reduce (+) l
let fsum l = reduce (+.) l

let min_max ?cmp:(cmp = Pervasives.compare) = function
| [] -> invalid_arg "Empty List"
| [] -> invalid_arg "List.min_max: Empty List"
| x :: xs ->
fold_left
(fun (curr_min, curr_max) y ->
Expand Down

0 comments on commit 7643504

Please sign in to comment.