Skip to content

Commit 07be82e

Browse files
committed
fix spelling error in irc comment
1 parent bf1e003 commit 07be82e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Loop/Models/RetrospectiveCorrection/IntegralRetrospectiveCorrection.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ class IntegralRetrospectiveCorrection: RetrospectiveCorrection {
179179

180180
// Overall glucose effect calculated as a sum of propotional, integral and differential effects
181181
proportionalCorrection = IntegralRetrospectiveCorrection.proportionalGain * currentDiscrepancyValue
182-
// Differential effect added only when negative, to avoid upward stacking with momentum, while still mitigating slugeshness of retrospective correction when discrepancies start decreasing
182+
// Differential effect added only when negative, to avoid upward stacking with momentum, while still mitigating sluggishness of retrospective correction when discrepancies start decreasing
183183
if differentialDiscrepancy < 0 {
184184
differentialCorrection = IntegralRetrospectiveCorrection.differentialGain * differentialDiscrepancy
185185
}

0 commit comments

Comments
 (0)