Skip to content

Commit

Permalink
Update test_standalone.py
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolaCourtier committed Jan 26, 2024
1 parent 4c1269d commit cb103cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_standalone.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class TestStandalone:
def test_standalone(self):
# Build an Optimisation problem with a StandaloneCost
cost = StandaloneCost()
opt = pybop.Optimisation(cost=cost, optimiser=pybop.CMAES)
opt = pybop.Optimisation(cost=cost, optimiser=pybop.SciPyDifferentialEvolution)
x, final_cost = opt.run()

assert len(opt.x0) == opt.n_parameters
Expand Down

0 comments on commit cb103cb

Please sign in to comment.