Content-Length: 255709 | pFad | http://github.com/postgrespro/postgres/commit/9f87ae38eaffcc7f72c45bfeb79e09dd6e8c2f48

64 Fix typo in comment · postgrespro/postgres@9f87ae3 · GitHub
Skip to content

Commit 9f87ae3

Browse files
committed
Fix typo in comment
Reported-by: Oleg Bartunov
1 parent 7dd7779 commit 9f87ae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/adt/tsrank.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ calc_rank_or(const float *w, TSVector t, TSQuery q)
336336
}
337337
}
338338
/*
339-
limit (sum(i/i^2),i->inf) = pi^2/6
339+
limit (sum(1/i^2),i=1,inf) = pi^2/6
340340
resj = sum(wi/i^2),i=1,noccurence,
341341
wi - should be sorted desc,
342342
don't sort for now, just choose maximum weight. This should be corrected

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/9f87ae38eaffcc7f72c45bfeb79e09dd6e8c2f48

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy