Commit 11a0c34b authored by jinhai's avatar jinhai
Browse files

Merge branch 'branch-0.5.0' into '0.5.0'

fix build error

See merge request megasearch/milvus!780

Former-commit-id: 3d1cbeda77f3319c7d391de737c9e0a434cdc569
parents 990b1d95 c1c319d6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -31,11 +31,14 @@

#include "knowhere/adapter/VectorAdapter.h"
#include "knowhere/common/Exception.h"
#include "knowhere/common/Log.h"
#include "knowhere/index/vector_index/IndexGPUIVF.h"
#include "knowhere/index/vector_index/IndexIVF.h"

namespace knowhere {

using stdclock = std::chrono::high_resolution_clock;

IndexModelPtr
IVF::Train(const DatasetPtr& dataset, const Config& config) {
    auto build_cfg = std::dynamic_pointer_cast<IVFCfg>(config);