Whoops, was double-eval'ing generations
This commit is contained in:
parent
353b59b303
commit
6bbe19c26f
@ -40,8 +40,6 @@ func main() {
|
|||||||
fmt.Printf("\nGeneration %v\n%v\n", genTick.N, time.Now())
|
fmt.Printf("\nGeneration %v\n%v\n", genTick.N, time.Now())
|
||||||
fmt.Println(game)
|
fmt.Println(game)
|
||||||
|
|
||||||
game.EvaluateGeneration()
|
|
||||||
|
|
||||||
if genTick.Error != nil {
|
if genTick.Error != nil {
|
||||||
fmt.Fprintf(os.Stderr, "%s: %s\n", genTick.Message, genTick.Error)
|
fmt.Fprintf(os.Stderr, "%s: %s\n", genTick.Message, genTick.Error)
|
||||||
os.Exit(4)
|
os.Exit(4)
|
||||||
|
Loading…
Reference in New Issue
Block a user