Added return type to objective_function
This commit is contained in:
parent
2976434bc7
commit
102e6ae2d4
|
@ -122,7 +122,7 @@ class XlsxHeatPumpParameters:
|
|||
popt, _ = curve_fit(self._objective_function, [x_values, out_temp], heat_pump_data)
|
||||
return popt.tolist()
|
||||
|
||||
def _objective_function(self, xdata, a1, a2, a3, a4, a5, a6):
|
||||
def _objective_function(self, xdata, a1, a2, a3, a4, a5, a6) -> float:
|
||||
"""
|
||||
Objective function for computing coefficients
|
||||
:param xdata:
|
||||
|
|
Loading…
Reference in New Issue
Block a user