From d5711107f934d0b9cfff56120df0f918897d2fd8 Mon Sep 17 00:00:00 2001 From: Brian Clifton Date: Thu, 5 Dec 2019 09:27:20 -0700 Subject: [PATCH] Fix comparison logic for P3A question Brave.P3A.SentAnswersCount Found this while reviewing with @GeetaSarvadnya --- components/p3a/brave_p3a_log_store.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/p3a/brave_p3a_log_store.cc b/components/p3a/brave_p3a_log_store.cc index d00c1f153007..f22c9235d1e9 100644 --- a/components/p3a/brave_p3a_log_store.cc +++ b/components/p3a/brave_p3a_log_store.cc @@ -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;