Skip to content

Commit

Permalink
TestSolution fix: default 1 objective with value 0
Browse files Browse the repository at this point in the history
  • Loading branch information
rmartinsanta committed Nov 23, 2024
1 parent 6b98f89 commit 1d1a2ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static TestSolution[] from(TestInstance instance, double... scores) {
return solutions;
}

protected double[] score;
protected double[] score = new double[1];

Map<String, Function<TestSolution, Object>> properties = new HashMap<>();

Expand Down

0 comments on commit 1d1a2ea

Please sign in to comment.