Skip to content

Commit

Permalink
Update src/main/java/org/opensearch/neuralsearch/processor/normalizat…
Browse files Browse the repository at this point in the history
…ion/ZScoreNormalizationTechnique.java

Co-authored-by: Heemin Kim <[email protected]>
Signed-off-by: samuel-oci <[email protected]>
  • Loading branch information
sam-herman and heemin32 authored Oct 20, 2023
1 parent 266a34b commit f1ef018
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ static private float[] findStdPerSubquery(final List<CompoundTopDocs> queryTopDo
return stdPerSubQuery;
}

static private float sumScoreDocsArray(ScoreDoc[] scoreDocs) {
static private float sumScoreDocsArray(final ScoreDoc[] scoreDocs) {
float sum = 0;
for (ScoreDoc scoreDoc : scoreDocs) {
sum += scoreDoc.score;
Expand Down

0 comments on commit f1ef018

Please sign in to comment.