diff options
Diffstat (limited to 'src/libs/zbxalgo/prediction.c')
-rw-r--r-- | src/libs/zbxalgo/prediction.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/zbxalgo/prediction.c b/src/libs/zbxalgo/prediction.c index 62ad1617728..d5ddd293445 100644 --- a/src/libs/zbxalgo/prediction.c +++ b/src/libs/zbxalgo/prediction.c @@ -737,9 +737,9 @@ static int zbx_polynomial_minmax(double now, double time, zbx_mode_t mode, zbx_m if (SUCCEED != (res = zbx_polynomial_roots(derivative, derivative_roots))) goto out; - /* choose min and max among now, now + time and derivative roots inbetween (these are potential local extrema) */ - /* we ignore imaginary part of roots, this means that more calculations will be made, */ - /* but result will not be affected and we wont need a boundary on minimal imaginary part that differs from zero */ + /* Choose min and max among now, now + time and derivative roots in between (these are potential local */ + /* extrema). We ignore imaginary part of roots. This means that more calculations will be made, but result */ + /* will not be affected and we won't need a boundary on minimal imaginary part that differs from zero. */ min = zbx_polynomial_value(now, coefficients); tmp = zbx_polynomial_value(now + time, coefficients); |