Commit 9f87ae38 authored by Alexander Korotkov's avatar Alexander Korotkov

Fix typo in comment

Reported-by: Oleg Bartunov
parent 7dd77793
...@@ -336,7 +336,7 @@ calc_rank_or(const float *w, TSVector t, TSQuery q) ...@@ -336,7 +336,7 @@ calc_rank_or(const float *w, TSVector t, TSQuery q)
} }
} }
/* /*
limit (sum(i/i^2),i->inf) = pi^2/6 limit (sum(1/i^2),i=1,inf) = pi^2/6
resj = sum(wi/i^2),i=1,noccurence, resj = sum(wi/i^2),i=1,noccurence,
wi - should be sorted desc, wi - should be sorted desc,
don't sort for now, just choose maximum weight. This should be corrected don't sort for now, just choose maximum weight. This should be corrected
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment