ソースを参照

More renaming

Sam King 9 ヶ月 前
コミット
dea56b5642

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

@@ -96,7 +96,7 @@ enum ForecastGenerator {
             adjustmentFactorLogrithmic: profile.adjustmentFactor
             adjustmentFactorLogrithmic: profile.adjustmentFactor
         )
         )
 
 
-        let initialForecasts = calculateMinMaxPredictedGlucose(
+        let initialForecasts = calculateMinMaxForecastedGlucose(
             currentGlucose: glucose,
             currentGlucose: glucose,
             iobForecast: iobResult,
             iobForecast: iobResult,
             cobForecast: cobResult,
             cobForecast: cobResult,
@@ -159,7 +159,7 @@ enum ForecastGenerator {
     /// This function does the min/max glucose forecasts at the end of the main forecast loop
     /// 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
     /// 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
     /// predictions and the UAM predictions, so we need to pull out this logic here
-    static func calculateMinMaxPredictedGlucose(
+    static func calculateMinMaxForecastedGlucose(
         currentGlucose: Decimal,
         currentGlucose: Decimal,
         iobForecast: IndividualForecast,
         iobForecast: IndividualForecast,
         cobForecast: IndividualForecast,
         cobForecast: IndividualForecast,