From d9b7ee30bed6f223867b1a83b0820d1c1b627747 Mon Sep 17 00:00:00 2001 From: Vasilis Valatsos Date: Tue, 26 Mar 2024 12:46:42 +0100 Subject: [PATCH] Fixed bug --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 054c8fa..5251e9f 100644 --- a/main.py +++ b/main.py @@ -116,7 +116,7 @@ def main(): episode_reward[player.player_id][step] = player.reward - if not no_training and ((step % horizon == 0 and step != 0): + if not no_training and (step % horizon == 0 and step != 0): player.agent.learn()