Fix division by 0 estimating freqs in OrPostList
commit58da50e4c35f3b16183d93f0940fbac16f996c12
authorOlly Betts <olly@survex.com>
Tue, 17 Oct 2017 03:16:35 +0000 (17 16:16 +1300)
committerOlly Betts <olly@survex.com>
Tue, 17 Oct 2017 03:16:35 +0000 (17 16:16 +1300)
tree556ac8694816f6d53b2f0dbfe7c3aa771151ba54
parent7d592dfcbe3073120f22d639718ea15d4c3e9fd3
Fix division by 0 estimating freqs in OrPostList

When the total size is 0 the answer must be 0.
xapian-core/matcher/orpostlist.cc