fix zeroTempIOB

This commit is contained in:
AdrianLxM 2018-05-01 13:29:15 +02:00
parent faa09f8505
commit 4789ac0616

View file

@ -325,7 +325,7 @@ public class IobCobCalculatorPlugin extends PluginBase {
basalIobWithZeroTemp.plus(calc); basalIobWithZeroTemp.plus(calc);
} }
basalIob.iobWithZeroTemp = basalIobWithZeroTemp; basalIob.iobWithZeroTemp = IobTotal.combine(bolusIob, basalIobWithZeroTemp).round();
} }
IobTotal iobTotal = IobTotal.combine(bolusIob, basalIob).round(); IobTotal iobTotal = IobTotal.combine(bolusIob, basalIob).round();