From eee222a8e21028a6e6e7824dd2797eeb26b326ec Mon Sep 17 00:00:00 2001 From: Harpreet Sangar Date: Tue, 15 Aug 2023 10:46:20 +0530 Subject: [PATCH] Remove unwanted condition. --- include/topster.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/topster.h b/include/topster.h index 0b106f47..355300ea 100644 --- a/include/topster.h +++ b/include/topster.h @@ -33,7 +33,7 @@ struct KV { this->scores[1] = scores[1]; this->scores[2] = scores[2]; - if(match_score_index >= 0 && match_score_index <= 2){ + if(match_score_index >= 0){ this->text_match_score = scores[match_score_index]; } }