Skip to content

Commit

Permalink
doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sgreben committed Oct 5, 2024
1 parent 424e698 commit fedd2b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion heap.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package bitknn

import "unsafe"

// neighborHeap is a max-heap that stores distances and their corresponding indices.
// neighborHeap is a max-heap that stores data point's distances together with their indices in the training set.
// The heap is used to keep track of nearest neighbors.
type neighborHeap struct {
distances []int
Expand Down

0 comments on commit fedd2b3

Please sign in to comment.