From 8608bceb40867f972cbc970b93bcfa10032ad118 Mon Sep 17 00:00:00 2001 From: jkriwet Date: Mon, 15 Apr 2024 14:53:25 +0200 Subject: [PATCH] #59 changed obj function to only return float --- aixcalibuha/calibration/calibrator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aixcalibuha/calibration/calibrator.py b/aixcalibuha/calibration/calibrator.py index 14e5ee6..5de5599 100644 --- a/aixcalibuha/calibration/calibrator.py +++ b/aixcalibuha/calibration/calibrator.py @@ -270,7 +270,7 @@ def obj(self, xk, *args): ) self._check_for_termination() - return total_res, unweighted_objective + return total_res def mp_obj(self, x, *args): # Initialize list for results