Skip to content

Commit

Permalink
Updated comment [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Jun 4, 2024
1 parent e0ca2b6 commit 309b771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sparsevec.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func NewSparseVector(vec []float32) SparseVector {
func NewSparseVectorFromMap(elements map[int32]float32, dim int32) SparseVector {
indices := make([]int32, 0, len(elements))
values := make([]float32, 0, len(elements))
// no need to sort indices since binary format is not supported
// no need to sort since binary format is not supported
for k, v := range elements {
indices = append(indices, k)
values = append(values, v)
Expand Down

0 comments on commit 309b771

Please sign in to comment.