Skip to content

Commit b0ade87

Browse files
added changes
1 parent 5c80c44 commit b0ade87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tok/partitioned_hnsw/partitioned_hnsw.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func (ph *partitionedHNSW[T]) NumIndexPasses() int {
8989
}
9090

9191
func (ph *partitionedHNSW[T]) NumThreads() int {
92-
return NUM_PASSES
92+
return ph.numClusters
9393
}
9494

9595
func (ph *partitionedHNSW[T]) NumSeedVectors() int {

0 commit comments

Comments
 (0)