Skip to content

Commit

Permalink
update: test_initialize_q_expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
kozistr committed Feb 1, 2025
1 parent b18af3f commit 6772208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def test_update_precondition_dense():

def test_initialize_q_expressions():
x = torch.zeros(1)
_ = initialize_q_expressions(x, 0.0, 0, 0, None)
_ = initialize_q_expressions(x.squeeze(), 0.0, 0, 0, None)

with pytest.raises(ValueError):
initialize_q_expressions(x.expand(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), 0.0, 0, 0, None)
Expand Down

0 comments on commit 6772208

Please sign in to comment.