Loading core/src/wrapper/ConfAdapter.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -154,7 +154,8 @@ IVFPQConfAdapter::Match(const TempMetaConf& metaconf) { // todo(linxj): throw exception here. WRAPPER_LOG_ERROR << "The dims of PQ is wrong : only 1, 2, 3, 4, 6, 8, 10, 12, 16, 20, 24, 28, 32 dims per sub-" "quantizer are currently supported with no precomputed codes."; throw WrapperException("The dims of PQ is wrong : only 1, 2, 3, 4, 6, 8, 10, 12, 16, 20, 24, 28, 32 dims " throw WrapperException( "The dims of PQ is wrong : only 1, 2, 3, 4, 6, 8, 10, 12, 16, 20, 24, 28, 32 dims " "per sub-quantizer are currently supported with no precomputed codes."); // return nullptr; } Loading Loading
core/src/wrapper/ConfAdapter.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -154,7 +154,8 @@ IVFPQConfAdapter::Match(const TempMetaConf& metaconf) { // todo(linxj): throw exception here. WRAPPER_LOG_ERROR << "The dims of PQ is wrong : only 1, 2, 3, 4, 6, 8, 10, 12, 16, 20, 24, 28, 32 dims per sub-" "quantizer are currently supported with no precomputed codes."; throw WrapperException("The dims of PQ is wrong : only 1, 2, 3, 4, 6, 8, 10, 12, 16, 20, 24, 28, 32 dims " throw WrapperException( "The dims of PQ is wrong : only 1, 2, 3, 4, 6, 8, 10, 12, 16, 20, 24, 28, 32 dims " "per sub-quantizer are currently supported with no precomputed codes."); // return nullptr; } Loading