Merge pull request #50 from AdrianLxM/patch-7

fix for net IOB
This commit is contained in:
Milos Kozak 2016-11-07 09:36:16 +01:00 committed by GitHub
commit 3533ec16ba

View file

@ -42,7 +42,7 @@ public class IobTotal {
public static IobTotal combine(IobTotal bolusIOB, IobTotal basalIob) {
IobTotal result = new IobTotal();
result.iob = bolusIOB.iob;
result.iob = bolusIOB.iob + basalIob.basaliob;
result.activity = bolusIOB.activity;
result.bolussnooze = bolusIOB.bolussnooze;
result.basaliob = basalIob.basaliob;