Skip to content
This repository was archived by the owner on Apr 10, 2024. It is now read-only.

Commit f8eee6f

Browse files
committed
Fixed bug in unittest
1 parent c4e0cc8 commit f8eee6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/optvis/test_objectives.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def f(a):
6262

6363

6464
@pytest.mark.parametrize("cossim_pow", [0, 1, 2])
65-
def test_cossim():
65+
def test_cossim(cossim_pow):
6666
x = np.array([1,1], dtype = np.float32)
6767
y = np.array([1,0], dtype = np.float32)
6868
T = lambda _: tf.constant(x[None, None, None, :])

0 commit comments

Comments
 (0)