Prevent to divide by zero and range out of 0..1

Teodor Sigaev <teodor@sigaev.ru>

Commit: 7148de1fa89c1a7ef4613ddfca730711335132ef
Author: Teodor Sigaev <teodor@sigaev.ru>
Date: 2005-06-01T11:45:03Z
Releases: 8.1.0
Prevent to divide by zero and range out of 0..1

Files

PathChange+/−
contrib/tsearch2/rank.c modified +7 −4