From 47621f06fb5dd673dd5cb7a1f82276290712c6b9 Mon Sep 17 00:00:00 2001 From: Yukikaze-CZR <48198922+Yukikaze-CZR@users.noreply.github.com> Date: Wed, 11 Dec 2019 14:06:04 +0800 Subject: [PATCH] clang-format (#743) * Add log to debug #678 * Rename nsg_mix to RNSG in C++ sdk #735 * [skip ci] change __function__ * clang-format --- .../knowhere/knowhere/index/vector_index/FaissBaseIndex.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/index/knowhere/knowhere/index/vector_index/FaissBaseIndex.cpp b/core/src/index/knowhere/knowhere/index/vector_index/FaissBaseIndex.cpp index 1ab0301a8d..89c478b8e3 100644 --- a/core/src/index/knowhere/knowhere/index/vector_index/FaissBaseIndex.cpp +++ b/core/src/index/knowhere/knowhere/index/vector_index/FaissBaseIndex.cpp @@ -70,7 +70,8 @@ FaissBaseIndex::SealImpl() { faiss::Index* index = index_.get(); auto idx = dynamic_cast(index); if (idx != nullptr) { - KNOWHERE_LOG_DEBUG << "Test before to_readonly:" << " IVF READONLY " << std::boolalpha << idx->is_readonly(); + KNOWHERE_LOG_DEBUG << "Test before to_readonly:" + << " IVF READONLY " << std::boolalpha << idx->is_readonly(); idx->to_readonly(); } #endif