Sam King 9 месяцев назад
Родитель
Сommit
dea56b5642
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      Trio/Sources/APS/OpenAPSSwift/Forecasts/ForecastGenerator.swift

+ 2 - 2
Trio/Sources/APS/OpenAPSSwift/Forecasts/ForecastGenerator.swift

@@ -96,7 +96,7 @@ enum ForecastGenerator {
             adjustmentFactorLogrithmic: profile.adjustmentFactor
         )
 
-        let initialForecasts = calculateMinMaxPredictedGlucose(
+        let initialForecasts = calculateMinMaxForecastedGlucose(
             currentGlucose: glucose,
             iobForecast: iobResult,
             cobForecast: cobResult,
@@ -159,7 +159,7 @@ enum ForecastGenerator {
     /// This function does the min/max glucose forecasts at the end of the main forecast loop
     /// in JS. It operates on raw forecasts and there is a cross dependency between IOB
     /// predictions and the UAM predictions, so we need to pull out this logic here
-    static func calculateMinMaxPredictedGlucose(
+    static func calculateMinMaxForecastedGlucose(
         currentGlucose: Decimal,
         iobForecast: IndividualForecast,
         cobForecast: IndividualForecast,