Skip to content

Commit

Permalink
Fix typing error in SQIL implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestum committed Jul 18, 2023
1 parent 9c5b91c commit 18a2f11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imitation/algorithms/sqil.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def set_demonstrations(
next_obs=transition["next_obs"],
action=transition["acts"],
done=transition["dones"],
reward=1,
reward=np.array(1),
infos=[{}],
)

Expand Down

0 comments on commit 18a2f11

Please sign in to comment.