Skip to content

Commit

Permalink
Fix unit test breakage from previous commit (API change) (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinavdangeti authored Sep 9, 2024
1 parent ba364ef commit e148470
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions faiss_vector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ func TestVectorSegment(t *testing.T) {
hitDocIDs := []uint64{2, 9, 9}
hitVecs := [][]float32{data[0], data[7][0:3], data[7][3:6]}
if vecSeg, ok := segOnDisk.(segment.VectorSegment); ok {
vecIndex, err := vecSeg.InterpretVectorIndex("stubVec", nil)
vecIndex, err := vecSeg.InterpretVectorIndex("stubVec", false, nil)
if err != nil {
t.Fatal(err)
}
Expand Down Expand Up @@ -580,7 +580,7 @@ func TestPersistedVectorSegment(t *testing.T) {
hitDocIDs := []uint64{2, 9, 9}
hitVecs := [][]float32{data[0], data[7][0:3], data[7][3:6]}
if vecSeg, ok := segOnDisk.(segment.VectorSegment); ok {
vecIndex, err := vecSeg.InterpretVectorIndex("stubVec", nil)
vecIndex, err := vecSeg.InterpretVectorIndex("stubVec", false, nil)
if err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit e148470

Please sign in to comment.