fix non smooth ratio graph

This commit is contained in:
Milos Kozak 2017-12-25 17:01:31 +01:00
parent 3ce260dfe9
commit f968ec630c

View file

@ -364,6 +364,8 @@ public class IobCobCalculatorPlugin implements PluginBase {
// check if data already exists
long bgTime = bucketed_data.get(i).date;
bgTime = roundUpTime(bgTime);
if (bgTime > System.currentTimeMillis())
continue;
Profile profile = MainApp.getConfigBuilder().getProfile(bgTime);
AutosensData existing;