@@ -108,7 +108,7 @@ public func generatePrediction(jsonData: UnsafePointer<Int8>?) -> UnsafeMutableP
108108 basal: input. basal,
109109 sensitivity: input. sensitivity,
110110 carbRatio: input. carbRatio,
111- algorithmEffectsOptions: . all , // Here we can adjust which predictive factor to output
111+ algorithmEffectsOptions: . insulin , // Here we can adjust which predictive factor to output
112112 useIntegralRetrospectiveCorrection: input. useIntegralRetrospectiveCorrection,
113113 includingPositiveVelocityAndRC: input. includePositiveVelocityAndRC
114114 )
@@ -176,7 +176,7 @@ public func getPredictionDates(jsonData: UnsafePointer<Int8>?) -> UnsafePointer<
176176 basal: input. basal,
177177 sensitivity: input. sensitivity,
178178 carbRatio: input. carbRatio,
179- algorithmEffectsOptions: . all ,
179+ algorithmEffectsOptions: . insulin ,
180180 useIntegralRetrospectiveCorrection: input. useIntegralRetrospectiveCorrection
181181 )
182182 // Prepare prediction dates as a comma-separated string
@@ -246,7 +246,7 @@ public func getGlucoseEffectVelocity(jsonData: UnsafePointer<Int8>?) -> UnsafeMu
246246 basal: input. basal,
247247 sensitivity: input. sensitivity,
248248 carbRatio: input. carbRatio,
249- algorithmEffectsOptions: . all , // Here we can adjust which predictive factor to output
249+ algorithmEffectsOptions: . insulin , // Here we can adjust which predictive factor to output
250250 useIntegralRetrospectiveCorrection: input. useIntegralRetrospectiveCorrection
251251 )
252252 var glucoseEffectVelocities : [ Double ] = [ ]
@@ -278,7 +278,7 @@ public func getGlucoseEffectVelocityDates(jsonData: UnsafePointer<Int8>?) -> Uns
278278 basal: input. basal,
279279 sensitivity: input. sensitivity,
280280 carbRatio: input. carbRatio,
281- algorithmEffectsOptions: . all ,
281+ algorithmEffectsOptions: . insulin ,
282282 useIntegralRetrospectiveCorrection: input. useIntegralRetrospectiveCorrection
283283 )
284284
0 commit comments