From ea11f0c54af9c668ce1efe81dc6505884586d9c7 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Thu, 17 Dec 2020 13:28:57 +0100 Subject: [PATCH] Default M to 12 --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 2194023..52f9e3b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -693,4 +693,4 @@ impl Index for [ZeroNode] { /// The parameter `M` from the paper /// /// This should become a generic argument to `Hnsw` when possible. -const M: usize = 6; +const M: usize = 12;