Explorar el Código

seed the random with 42 to make dev easier

Bastien Sevajol hace 8 años
padre
commit
4f5bae1c7e
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      config.py

+ 2 - 1
config.py Ver fichero

@@ -26,7 +26,8 @@ config = {
26 26
         'fpsmax': 2555,
27 27
         'debug': {
28 28
             'mainprocess': True,
29
-            'cycles': -1
29
+            'cycles': -1,
30
+            'seed': 42
30 31
         }
31 32
     },
32 33
     'simulations': simulations,