summaryrefslogtreecommitdiffstats
path: root/src/cfg_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cfg_utils.c')
-rw-r--r--src/cfg_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cfg_utils.c b/src/cfg_utils.c
index ca12a22d0..023d97315 100644
--- a/src/cfg_utils.c
+++ b/src/cfg_utils.c
@@ -665,7 +665,7 @@ internal_normalizer_func (double score, void *data)
if (score < 0) {
return score;
}
- else if (score > 0.001 && score > 1) {
+ else if (score > 0.001 && score < 1) {
return 1;
}
else if (score > 1 && score < max / 2.) {