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/cfg_file.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/cfg_file.h')
-rw-r--r-- | src/cfg_file.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cfg_file.h b/src/cfg_file.h index baf65c377..dec843359 100644 --- a/src/cfg_file.h +++ b/src/cfg_file.h @@ -161,7 +161,7 @@ struct statfile_binlog_params { uint16_t master_port; }; -typedef double (*statfile_normalize_func)(struct config_file *cfg, double score, void *params); +typedef double (*statfile_normalize_func)(struct config_file *cfg, long double score, void *params); /** * Statfile config definition |