diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-02-06 16:05:21 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-02-06 16:05:21 +0000 |
commit | ceb87422adb1d3cc36a7e4de9c728299c31f465a (patch) | |
tree | f821091879d6673bc64920c86ed9b6115aa3aad4 | |
parent | 5fa7a97ccdb1be3c345868e149686ef0e46f419e (diff) | |
download | rspamd-ceb87422adb1d3cc36a7e4de9c728299c31f465a.tar.gz rspamd-ceb87422adb1d3cc36a7e4de9c728299c31f465a.zip |
[Minor] Filter yvalues for graph more precisely
-rw-r--r-- | src/controller.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller.c b/src/controller.c index abb6ebe81..a0619674d 100644 --- a/src/controller.c +++ b/src/controller.c @@ -1150,7 +1150,7 @@ rspamd_controller_graph_point (gulong t, gulong step, for (j = 0; j < step; j++) { yval = acc[i + j * rrd_result->ds_count]; - if (isnan (yval)) { + if (!isnormal (yval)) { nan_cnt++; } else { |