-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Describe the bug
frap agent file has a bug
To Reproduce
Steps to reproduce the behavior:
- Go to 'agent' folder
- Click on 'frap'
- Scroll down to Line 440
- See “demand = states[:, i:i+self.demand_shape]”
Expected behavior
The expression i: i+demandshape in this code is incorrect when the demandshape is not 1.
it should be written as demand = states[:, i * self.demand_shape:(i + 1) * self.demand_shape]
Metadata
Metadata
Assignees
Labels
No labels