Discovered Random.self_init
authorSiraaj Khandkar <siraaj@khandkar.net>
Sun, 2 Sep 2012 21:33:30 +0000 (17:33 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Mon, 3 Sep 2012 05:09:59 +0000 (01:09 -0400)
life/002/src/life.ml

index f7bf55e..b336704 100644 (file)
@@ -107,7 +107,7 @@ let main argv =
   and y = int_of_string argv.(2)
   in
 
-  Random.init (int_of_float (Unix.time ()));
+  Random.self_init ();
 
   life_loop (init_board x y)
 
This page took 0.021856 seconds and 4 git commands to generate.