ext/hnswlib/src/space_ip.h in hnswlib-0.1.1 vs ext/hnswlib/src/space_ip.h in hnswlib-0.2.0

- old
+ new

@@ -245,9 +245,10 @@ DISTFUNC<float> fstdistfunc_; size_t data_size_; size_t dim_; public: + InnerProductSpace() : data_size_(0), dim_(0) { } InnerProductSpace(size_t dim) { fstdistfunc_ = InnerProduct; #if defined(USE_AVX) || defined(USE_SSE) if (dim % 16 == 0) fstdistfunc_ = InnerProductSIMD16Ext;