Skip to content

Commit 6772208

Browse files
committed
update: test_initialize_q_expressions
1 parent b18af3f commit 6772208

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def test_update_precondition_dense():
325325

326326
def test_initialize_q_expressions():
327327
x = torch.zeros(1)
328-
_ = initialize_q_expressions(x, 0.0, 0, 0, None)
328+
_ = initialize_q_expressions(x.squeeze(), 0.0, 0, 0, None)
329329

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

0 commit comments

Comments
 (0)