vendor/kmeans/Details.hpp in umappp-0.1.6 vs vendor/kmeans/Details.hpp in umappp-0.2.0

- old
+ new

@@ -21,10 +21,10 @@ template<typename DATA_t = double, typename INDEX_t = int> struct Details { /** * @cond */ - Details() {} + Details() : iterations(0), status(0) {} Details(int it, int st) : sizes(0), withinss(0), iterations(it), status(st) {} Details(std::vector<INDEX_t> s, std::vector<DATA_t> w, int it, int st) : sizes(std::move(s)), withinss(std::move(w)), iterations(it), status(st) {} /**