From 1f01c57ae367abe2b6d856435b7ab5f34c1ffbe5 Mon Sep 17 00:00:00 2001 From: Philipp Sauer Date: Mon, 26 May 2025 11:41:09 +0200 Subject: [PATCH] Fixed typo in loop --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index f666d448..e51386dc 100644 --- a/main.py +++ b/main.py @@ -157,7 +157,7 @@ agent.add(state, action, reward, next_state, mask, 1) else: agent.add(state, action, reward, next_state, mask, 0) - for (state, action, rewards, next_state, mask, _) in real_buffer: + for (state, action, reward, next_state, mask, _) in real_buffer: if cost > 0: real_data.push(state, action, reward, next_state, mask, 1) else: