Skip to content

Commit

Permalink
d
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri Rusin committed Feb 2, 2024
1 parent a62d0c8 commit 02ca82f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cpp/problem/test_cec_problem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ TEST_F(BaseTest, CECProblem)
auto x = string_to_vector_double(tmp[2]);
auto f = stod(tmp[3]);

auto instance = problem_factory.create(func_id + 100, ins_id, x.size());
auto instance = problem_factory.create(func_id, ins_id, x.size());
auto y = (*instance)(x);
EXPECT_LE(abs(y - f) / f, 1.0 / pow(10, 6 - log(10)))
<< "The fitness of function " << func_id << "( ins "
Expand Down

0 comments on commit 02ca82f

Please sign in to comment.