Skip to content

Commit

Permalink
Fix for std dev
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorkert committed Apr 11, 2024
1 parent 46a89e3 commit 132ff6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LoopFollow/Controllers/Stats.swift
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class StatsData {

stdDev = sqrt(partialSum / Float(bgData.count))
if UserDefaultsRepository.units.value != "mg/dL" {
stdDev = Float( bgUnits.toDisplayUnits( String( stdDev ) ) ) ?? 0.0;
stdDev = stdDev / 18
}

if UserDefaultsRepository.useIFCC.value {
Expand Down

0 comments on commit 132ff6c

Please sign in to comment.