fix for net IOB

This commit is contained in:
AdrianLxM 2016-11-07 07:55:41 +01:00 committed by GitHub
parent f84777bf00
commit e948a6f955

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;