Skip to content

Commit

Permalink
Update test/test_cost.py
Browse files Browse the repository at this point in the history
Co-authored-by: Vincent Moens <[email protected]>
  • Loading branch information
BY571 and vmoens authored Nov 6, 2023
1 parent 20bbd8a commit c5341c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_cost.py
Original file line number Diff line number Diff line change
Expand Up @@ -5184,7 +5184,7 @@ def _create_mock_actor(
elif action_spec_type == "categorical":
action_spec = DiscreteTensorSpec(action_dim)
else:
raise ValueError(f"Wrong {action_spec_type}")
raise ValueError(f"Wrong action spec type: {action_spec_type}")

module = nn.Linear(obs_dim, action_dim)
if is_nn_module:
Expand Down

0 comments on commit c5341c3

Please sign in to comment.