Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+1-1
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)