From 95133a591e7f09a0601b34e8c436cd3c3483af37 Mon Sep 17 00:00:00 2001 From: "cebka@lenovo-laptop" Date: Thu, 14 Jan 2010 14:26:23 +0300 Subject: [PATCH] * Forgotten call of normalizer function --- src/classifiers/winnow.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/classifiers/winnow.c b/src/classifiers/winnow.c index 522d3f4d5b..e103dd50de 100644 --- a/src/classifiers/winnow.c +++ b/src/classifiers/winnow.c @@ -170,6 +170,9 @@ winnow_classify (struct classifier_ctx *ctx, statfile_pool_t * pool, GTree * inp if (data.count != 0) { res = data.sum / data.count; + if (st->normalizer != NULL) { + res = st->normalizer (res, st->normalizer_data); + } } else { res = 0; -- 2.47.3