mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-08-25 06:52:23 +00:00
Prediction = 0 führte zu Fehler
This commit is contained in:
@@ -125,6 +125,6 @@ class HourlyElectricityPriceForecast:
|
||||
price_list.extend(daily_prices)
|
||||
start_date += timedelta(days=1)
|
||||
|
||||
price_list = repeat_to_shape(np.array(price_list),(self.prediction_hours,))
|
||||
|
||||
if self.prediction_hours>0:
|
||||
price_list = repeat_to_shape(np.array(price_list),(self.prediction_hours,))
|
||||
return price_list
|
||||
|
Reference in New Issue
Block a user