do not calculate autosens when no bg data available
This commit is contained in:
parent
1a76809f33
commit
2ce08260bf
|
@ -25,6 +25,9 @@ public class Autosens {
|
|||
|
||||
//console.error(mealTime);
|
||||
|
||||
if (glucose_data.size() < 3)
|
||||
return new AutosensResult();
|
||||
|
||||
double deviationSum = 0;
|
||||
double carbsAbsorbed = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue