summaryrefslogtreecommitdiff
path: root/extendedstats/unix.go
diff options
context:
space:
mode:
authorWill Hawkins <[email protected]>2021-12-16 00:38:05 -0500
committerWill Hawkins <[email protected]>2021-12-16 00:38:05 -0500
commitbb48aa9f23d3b74aa3e31f395deaf6fdd1618391 (patch)
treeddaf9901e191e42011fd80ad76a5c5035bb41280 /extendedstats/unix.go
parentc24e70fd98bb61ddf735a7f54e278258f2dfc990 (diff)
Bugfix: Incorrect AllSequentialIncreasesLessThan (nee IncreasesLessThan) Calculation
In AllSequentialIncreasesLessThan (nee IncreasesLessThan), an earlier version of this function did not properly take into account the order in which values were added to the moving average when calculating the percent change. This patch fixes that error and adds an additional criteria for the function to return `true`: there must be *at least* `intervals` collected samples.
Diffstat (limited to 'extendedstats/unix.go')
0 files changed, 0 insertions, 0 deletions