Skip to content

Commit cdebfd6

Browse files
committed
update: test_sparse_not_supported
1 parent 300c539 commit cdebfd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_gradients.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def test_no_gradients(optimizer_name):
3434

3535
@pytest.mark.parametrize('no_sparse_optimizer', NO_SPARSE_OPTIMIZERS)
3636
def test_sparse_not_supported(no_sparse_optimizer):
37-
param = simple_sparse_parameter()
37+
param = simple_sparse_parameter()[1]
3838

3939
opt = load_optimizer(optimizer=no_sparse_optimizer)
4040
optimizer = opt([param], num_iterations=1) if no_sparse_optimizer == 'ranger21' else opt([param])

0 commit comments

Comments
 (0)