Skip to content

Remove redundant while loop break in dqn.py#58

Open
ginoperrotta wants to merge 1 commit intoseungeunrho:masterfrom
ginoperrotta:patch-1
Open

Remove redundant while loop break in dqn.py#58
ginoperrotta wants to merge 1 commit intoseungeunrho:masterfrom
ginoperrotta:patch-1

Conversation

@ginoperrotta
Copy link
Copy Markdown

The training loop in dqn.py has both while not done and if done: break. This is harmless, but redundant. Given this repo's focus on minimalism, though, I thought the break statement should be removed.

The training loop in dqn.py has both `while not done` and `if done: break`. This is harmless, but redundant. Given this repo's focus on minimalism, though, I thought the break statement should be removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant