Skip to content

Commit 1da0df0

Browse files
authored
Change algorithmEffectsOptions to .insulin
1 parent 83ce21e commit 1da0df0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Sources/LoopAlgorithmToPython/LoopAlgorithmToPython.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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

0 commit comments

Comments
 (0)