Skip to content

Commit c5187bf

Browse files
committed
Pruned the comment
1 parent 7cbcf94 commit c5187bf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

x-pack/plugin/rank-rrf/src/main/java/org/elasticsearch/xpack/rank/linear/L2ScoreNormalizer.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ public ScoreDoc[] normalizeScores(ScoreDoc[] docs) {
4444
}
4545
double norm = Math.sqrt(sumOfSquares);
4646
if (norm < EPSILON) {
47-
// Avoid division by zero, return original scores (or set all to zero if you prefer)
4847
return docs;
4948
}
5049
ScoreDoc[] scoreDocs = new ScoreDoc[docs.length];

0 commit comments

Comments
 (0)