Skip to content

Commit

Permalink
Fix multiobj
Browse files Browse the repository at this point in the history
  • Loading branch information
YamLyubov committed Apr 8, 2024
1 parent 267f37c commit 5b8a4f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion golem/core/tuning/tuner_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def _multi_obj_final_check(self, tuned_graphs: Sequence[OptGraph]) -> Sequence[O
else:
self.log.message('Initial metric dominates all found solutions. Return initial graph.')
final_graphs = self.init_graph
self.obtained_metric = self.init_metric
self.obtained_metric = ensure_wrapped_in_sequence(self.init_metric)
return final_graphs

def get_metric_value(self, graph: OptGraph) -> Union[float, Sequence[float]]:
Expand Down

0 comments on commit 5b8a4f3

Please sign in to comment.