Skip to content

Commit

Permalink
fix: wrong test parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
BillHuang2001 committed Apr 23, 2024
1 parent 24d9d2e commit e05c5ee
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_monitors.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
from evox.monitors import StdSOMonitor, StdMOMonitor, EvalMonitor, PopMonitor


@pytest.mark.parametrize("topk", [1, 2, 4])
def test_std_so_monitor(topk):
monitor = StdSOMonitor(record_topk=topk, record_fit_history=True)
def test_std_so_monitor():
monitor = StdSOMonitor(record_topk=1, record_fit_history=True)

pop1 = jnp.arange(15).reshape((3, 5))
fitness1 = jnp.arange(3)
Expand Down

0 comments on commit e05c5ee

Please sign in to comment.