Skip to content

Commit

Permalink
Removed useless assert
Browse files Browse the repository at this point in the history
  • Loading branch information
bpiwowar committed Mar 22, 2024
1 parent 43edaf3 commit 40fe046
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/bbrl/agents/gymnasium.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,6 @@ def __init__(
"""
super().__init__(*args, **kwargs)

assert (
include_last_state or reward_at_t
), "Last state should be included when reward is at t+1"

self.reward_at_t = reward_at_t
self.include_last_state = include_last_state
self.ghost_params: nn.Parameter = nn.Parameter(torch.Tensor())
Expand Down

0 comments on commit 40fe046

Please sign in to comment.