Skip to content

Commit f17dc71

Browse files
committed
[#296] Fix early return in discounting
1 parent 6d5bcc5 commit f17dc71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bsk_rl/utils/rllib/discounting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def __call__(
6565
if id_tuple[1] == sa_episode.agent_id
6666
]
6767
if len(id_tuples) == 0:
68-
return data
68+
continue
6969
else:
7070
id_tuple = id_tuples[0]
7171

0 commit comments

Comments
 (0)