diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-06-10 13:20:45 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-06-10 13:20:45 +0100 |
commit | c6bc0ad68eb2abe467eb3a4e2f04e63403149ed5 (patch) | |
tree | ccb147f5c8faec2e20088cde2f32042de79a3d6a /src/classifiers | |
parent | 48197c2ea1e4883a5b379c47fc3d50325f6269b8 (diff) | |
download | rspamd-c6bc0ad68eb2abe467eb3a4e2f04e63403149ed5.tar.gz rspamd-c6bc0ad68eb2abe467eb3a4e2f04e63403149ed5.zip |
Detect exp2l as well. Update to 0.5.6.
Diffstat (limited to 'src/classifiers')
-rw-r--r-- | src/classifiers/bayes.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/classifiers/bayes.c b/src/classifiers/bayes.c index f8aed3ac7..c892488bd 100644 --- a/src/classifiers/bayes.c +++ b/src/classifiers/bayes.c @@ -123,6 +123,8 @@ inv_chi_square (gdouble value, gint freedom_deg) errno = 0; #ifdef HAVE_EXPL prob = expl (-value); +#elif defined(HAVE_EXP2L) + prob = exp2l (-value); #else prob = exp (-value); #endif |