comment update

This commit is contained in:
Will Charczuk 2017-04-21 13:34:54 -07:00
parent b41d05a2f4
commit 64d2ef25c7
1 changed files with 1 additions and 2 deletions

View File

@ -100,8 +100,7 @@ func (prs *PolynomialRegressionSeries) GetValue(index int) (x, y float64) {
return
}
// GetLastValue computes the last moving average value but walking back window size samples,
// and recomputing the last moving average chunk.
// GetLastValue computes the last poly regression value.
func (prs *PolynomialRegressionSeries) GetLastValue() (x, y float64) {
if prs.InnerSeries == nil || prs.InnerSeries.Len() == 0 {
return