]> rtime.felk.cvut.cz Git - linux-conf-perf.git/commitdiff
Fix solution generation in case of gen_all_solution_oninit
authorKarel Kočí <cynerd@email.cz>
Thu, 14 May 2015 20:46:43 +0000 (22:46 +0200)
committerKarel Kočí <cynerd@email.cz>
Thu, 14 May 2015 20:46:43 +0000 (22:46 +0200)
scripts/loop.py

index d9b2afd9b4cb2a5d23a81f7e87c1c87d875acb40..9cae7548edeb790506bc312411898f2b6d63ce73 100755 (executable)
@@ -23,8 +23,9 @@ def step():
                phase_message(2)
                phase_set(3)
        elif phs == 3:
-               phase_message(3)
-               solution.generate()
+               if not conf.gen_all_solution_oninit:
+                       phase_message(3)
+                       solution.generate()
                iteration_inc()
                phase_set(4)
        elif phs == 4: