From 0f182519a689f51f10a940ee0c4389eee6e55b94 Mon Sep 17 00:00:00 2001 From: generatedunixname89002005325676 Date: Thu, 28 Sep 2023 08:26:29 -0700 Subject: [PATCH] Daily `arc lint --take CLANGFORMAT` Reviewed By: bigfootjon Differential Revision: D49724184 fbshipit-source-id: dae2af01c245516e910801e11acda3fdd8bfaa54 --- faiss/IndexAdditiveQuantizer.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/faiss/IndexAdditiveQuantizer.cpp b/faiss/IndexAdditiveQuantizer.cpp index 1396f6f3e0..5bf06c4a4a 100644 --- a/faiss/IndexAdditiveQuantizer.cpp +++ b/faiss/IndexAdditiveQuantizer.cpp @@ -560,7 +560,12 @@ void ResidualCoarseQuantizer::search( } for (idx_t i0 = 0; i0 < n; i0 += bs) { idx_t i1 = std::min(n, i0 + bs); - search(i1 - i0, x + i0 * d, k, distances + i0 * k, labels + i0 * k, params_in); + search(i1 - i0, + x + i0 * d, + k, + distances + i0 * k, + labels + i0 * k, + params_in); InterruptCallback::check(); } return;