comment update

This commit is contained in:
Will Charczuk 2017-04-21 13:34:54 -07:00
parent b41d05a2f4
commit 64d2ef25c7

View file

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