fix: fix default m (#20)

* fix: fix default m

* fix doc str

* fix ut
This commit is contained in:
egolearner
2026-01-12 10:22:58 +08:00
committed by GitHub
parent 6d11623a96
commit 89f9c378ac
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ class TestHnswIndexParam:
def test_default(self):
param = HnswIndexParam()
assert param.metric_type == MetricType.IP
assert param.m == 100
assert param.m == 50
assert param.ef_construction == 500
assert param.quantize_type == QuantizeType.UNDEFINED
assert param.type == IndexType.HNSW