Skip to content

Commit

Permalink
remove avgDelta-bgi < 6 check
Browse files Browse the repository at this point in the history
  • Loading branch information
scottleibrand committed Sep 7, 2017
1 parent 52f4b30 commit 06c55c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/determine-basal/autosens.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ function detectSensitivity(inputs) {
}

// Exclude meal-related deviations (carb absorption) from autosens
if (type === "non-meal" && avgDelta-bgi < 6) {
if ( type === "non-meal" ) {
if ( deviation > 0 ) {
//process.stderr.write(" "+bg.toString());
process.stderr.write("+");
Expand Down

0 comments on commit 06c55c5

Please sign in to comment.