Skip to content

Commit

Permalink
Fix comparison logic for P3A question Brave.P3A.SentAnswersCount
Browse files Browse the repository at this point in the history
Found this while reviewing with @GeetaSarvadnya
  • Loading branch information
bsclifton committed Dec 5, 2019
1 parent b2a429a commit d571110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/p3a/brave_p3a_log_store.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void RecordP3A(uint64_t answers_count) {
int answer = 0;
if (1 <= answers_count && answers_count < 5) {
answer = 1;
} else if (5 <- answers_count && answers_count < 10) {
} else if (5 <= answers_count && answers_count < 10) {
answer = 2;
} else {
answer = 3;
Expand Down

0 comments on commit d571110

Please sign in to comment.