Skip to content

Commit

Permalink
1️⃣ Default to counting distinct occurrences.
Browse files Browse the repository at this point in the history
  • Loading branch information
psbrandt committed Dec 24, 2019
1 parent df441eb commit d15218c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ public static Occurrence getNumericComparisonOccurrence(BinaryExpression binaryE
} else if (expression instanceof LessOrEqual) {
occurrence.type = Occurrence.AT_MOST;
}

// We want to default to counting distinct occurrences
occurrence.isDistinct = true;

return occurrence;
}
}

0 comments on commit d15218c

Please sign in to comment.