This is an automated email from the ASF dual-hosted git repository. jianliangqi pushed a commit to branch clucene in repository https://gitbox.apache.org/repos/asf/doris-thirdparty.git
The following commit(s) were added to refs/heads/clucene by this push: new a6a13b89 [Fix](PFOR) fix DefaultDDEC (#147) a6a13b89 is described below commit a6a13b89111cc5605c98703846e94d299bea3a22 Author: airborne12 <airborn...@gmail.com> AuthorDate: Wed Dec 13 18:52:49 2023 +0800 [Fix](PFOR) fix DefaultDDEC (#147) --- src/core/CLucene/util/PFORUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/CLucene/util/PFORUtil.cpp b/src/core/CLucene/util/PFORUtil.cpp index 8fecd40f..ae27f521 100644 --- a/src/core/CLucene/util/PFORUtil.cpp +++ b/src/core/CLucene/util/PFORUtil.cpp @@ -53,7 +53,7 @@ size_t DefaultDDEC(unsigned char *__restrict in, size_t n, uint32_t *__restrict b = in[bufferSize++]; docCode |= (b & 0x7F) << shift; } - docDelta += (docCode >> 1); + docDelta += docCode; // Corrected line: Removed right shift out[i] = docDelta; } return n; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org