From 69f5bc80d10283a9771674a094c57cd1ae6b6543 Mon Sep 17 00:00:00 2001 From: David Jardim Date: Mon, 1 May 2017 17:36:21 -0400 Subject: [PATCH] fixed small bug --- src/GeneticSimulation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GeneticSimulation.cpp b/src/GeneticSimulation.cpp index 4ab154c..8452930 100644 --- a/src/GeneticSimulation.cpp +++ b/src/GeneticSimulation.cpp @@ -34,7 +34,7 @@ void GeneticSimulation::simulate(){ int winner = 0; - std::thread t1(game1.play,&winner); + game1.play(&winner); if(winner == 0){ game2.play(&winner);