-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Description
The lines of code referenced seem to serve no purpose but are being executed unnecessarily. These lines should be removed if they are indeed redundant.
Lines 138 to 142 in 1f240d8
| for state in list(states.keys()).copy(): | |
| if state not in accessed_states and states[state].initial_weight != 1: | |
| del states[state] | |
Lines 210 to 212 in 1f240d8
| for state in list(states.keys()).copy(): | |
| if state not in visited_states and states[state].initial_weight != 1: | |
| del states[state] |
Proposed Changes
- Verify that these lines are unnecessary. If so, remove them.
Metadata
Metadata
Assignees
Labels
No labels