Skip to content

Commit

Permalink
Merge pull request #98 from hchen2020/master
Browse files Browse the repository at this point in the history
Expose search.
  • Loading branch information
Oceania2018 committed Aug 11, 2023
2 parents d83c7fb + b7b136c commit 1d2704f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private float[] CalEuclideanDistance(float[] vec, List<VecRecord> records)
return c.ToArray<float>();
}

private float[] CalCosineSimilarity(float[] vec, List<VecRecord> records)
public float[] CalCosineSimilarity(float[] vec, List<VecRecord> records)
{
var similarities = new float[records.Count];
var a = vec;
Expand Down

0 comments on commit 1d2704f

Please sign in to comment.