missing conditional logging

This commit is contained in:
Milos Kozak 2018-04-08 22:28:05 +02:00
parent 44e923dd09
commit 05591cd762

View file

@ -125,7 +125,8 @@ public class SensitivityOref0Plugin extends PluginBase implements SensitivityInt
for (double i = 0.9; i > 0.1; i = i - 0.02) {
if (IobCobCalculatorPlugin.percentile(deviations, (i + 0.02)) >= 0 && IobCobCalculatorPlugin.percentile(deviations, i) < 0) {
log.debug(Math.round(100 * i) + "% of non-meal deviations negative (target 45%-50%)");
if (Config.logAutosensData)
log.debug(Math.round(100 * i) + "% of non-meal deviations negative (target 45%-50%)");
}
}
double pSensitive = IobCobCalculatorPlugin.percentile(deviations, 0.50);