File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -179,9 +179,9 @@ void SolverImpl::process_output(std::vector<Evaluation> const& output_)
179
179
best_io.output = output;
180
180
return ;
181
181
}
182
- else if (local::is_better_evaluation (comparator_at (last), round_constants.seed_output .at (last).function , output.at (last).function )
182
+ else if (local::is_better_evaluation (opposite ( comparator_at (last) ), round_constants.seed_output .at (last).function , output.at (last).function )
183
183
&& (best_io.input .empty () ||
184
- local::is_better_evaluation (comparator_at (last), best_io.output .at (last).function , output.at (last).function )))
184
+ local::is_better_evaluation (opposite ( comparator_at (last) ), best_io.output .at (last).function , output.at (last).function )))
185
185
{
186
186
best_io.input = best_io.candidate ;
187
187
best_io.output = output;
You can’t perform that action at this time.
0 commit comments