diff --git a/benchmarks/domains/synthetic_2C1D_1C.py b/benchmarks/domains/synthetic_2C1D_1C.py index d60259e76..ae32f9371 100644 --- a/benchmarks/domains/synthetic_2C1D_1C.py +++ b/benchmarks/domains/synthetic_2C1D_1C.py @@ -64,16 +64,17 @@ def synthetic_2C1D_1C(settings: ConvergenceExperimentSettings) -> DataFrame: target = NumericalTarget(name="target", mode="MAX") searchspace = SearchSpace.from_product(parameters=parameters) + objective = target.to_objective() scenarios: dict[str, Campaign] = { "Random Recommender": Campaign( searchspace=searchspace, recommender=RandomRecommender(), - objective=target, + objective=objective, ), "Default Recommender": Campaign( searchspace=searchspace, - objective=target, + objective=objective, ), }