Skip to content

Commit 7197d09

Browse files
authored
Update bench.ml
1 parent b98687c commit 7197d09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bench.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ let test test_name test_case =
1717
let fill_rate = float_of_int filled_area /. float_of_int all_area in
1818

1919
printf
20-
"rects:%3d\tfill-rate:%f%%\ttime:%fs\t in %s\n"
20+
"rects:%3d\tfill-rate:%f%%\ttime:%.3fs\t in %s\n"
2121
(List.length rects)
2222
(fill_rate *. 100.0)
2323
time_span
@@ -105,4 +105,4 @@ let () =
105105
80, 400, 100;
106106
10, 10, 10000;
107107
5, 5, 50000 ]
108-
108+

0 commit comments

Comments
 (0)