Skip to content

Commit

Permalink
Update test_single_objective.py
Browse files Browse the repository at this point in the history
update test for cosine_mixture
  • Loading branch information
nathanrooy authored Jan 5, 2024
1 parent bc3bfef commit 60a5f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_single_objective.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def test_colville(self):

def test_cosine_mixture(self):
for d in range(D_MIN, D_MAX, 1):
g_min = -0.1 * d
g_min = 0.1 * d
x = [0 for i in range(0, d)]
self.assertLess(abs(g_min - cosine_mixture(x)), 1e-6)

Expand Down

0 comments on commit 60a5f22

Please sign in to comment.