diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-05-27 18:59:02 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-05-27 18:59:02 +0400 |
commit | 0dc48ea239965d05b760cb9d8e570e0d91aedb77 (patch) | |
tree | db2d4c9b80a3408d12cb8bf4cfad57d45238abb9 /src/classifiers/classifiers.h | |
parent | ac8249b6ee746f022b0753789e6e2b46ab842abc (diff) | |
download | rspamd-0dc48ea239965d05b760cb9d8e570e0d91aedb77.tar.gz rspamd-0dc48ea239965d05b760cb9d8e570e0d91aedb77.zip |
* Convert statistic sums to use long double for counters
* Use hyperbolic tangent for internal normalizer
Diffstat (limited to 'src/classifiers/classifiers.h')
-rw-r--r-- | src/classifiers/classifiers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classifiers/classifiers.h b/src/classifiers/classifiers.h index de937bc3f..02192d795 100644 --- a/src/classifiers/classifiers.h +++ b/src/classifiers/classifiers.h @@ -17,7 +17,7 @@ struct classifier_ctx { struct classify_weight { const char *name; - double weight; + long double weight; }; /* Common classifier structure */ |