From dafde32ce0a1a0f8813c78670ab14da4346b5057 Mon Sep 17 00:00:00 2001 From: ozanarmagan Date: Mon, 14 Aug 2023 23:25:18 +0300 Subject: [PATCH] Fix KV constructor parameters --- include/topster.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/topster.h b/include/topster.h index c7378f2b..a16b4440 100644 --- a/include/topster.h +++ b/include/topster.h @@ -24,7 +24,7 @@ struct KV { // to be used only in final aggregation uint64_t* query_indices = nullptr; - KV(uint16_t queryIndex, uint64_t key, uint64_t distinct_key, uint8_t match_score_index, const int64_t *scores, + KV(uint16_t queryIndex, uint64_t key, uint64_t distinct_key, int8_t match_score_index, const int64_t *scores, reference_filter_result_t* reference_filter_result = nullptr): match_score_index(match_score_index), query_index(queryIndex), array_index(0), key(key), distinct_key(distinct_key), reference_filter_result(reference_filter_result) {