diff --git a/optimizerapi/optimizer.py b/optimizerapi/optimizer.py index 633778e..17e28fe 100644 --- a/optimizerapi/optimizer.py +++ b/optimizerapi/optimizer.py @@ -161,7 +161,7 @@ def __handle_run(body) -> dict: result = optimizer.tell(Xi, Yi) if n_objectives == 1 and len(result.models) > 0: if use_actual_measurement_histogram: - optimizer.add_modelled_noise() + optimizer.add_observational_noise() result = optimizer.get_result() result = [result] else: