mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
Bug #245176 --> several unsigned integers in the core bayesian algorithm should be signed integers because
they can be negative. Slightly improves our false negative rate on the benchmark. Patch by Lorenzo Colitti
This commit is contained in:
parent
62f2bca3b0
commit
8d71634ad7
@ -989,7 +989,7 @@ void nsBayesianFilter::classifyMessage(Tokenizer& tokenizer, const char* message
|
||||
first = (goodclues > 150) ? count - 150 : 0;
|
||||
|
||||
double H = 1.0, S = 1.0;
|
||||
PRUint32 Hexp = 0, Sexp = 0;
|
||||
PRInt32 Hexp = 0, Sexp = 0;
|
||||
goodclues=0;
|
||||
int e;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user