This commit is contained in:
Will Charczuk 2017-04-24 23:06:50 -07:00
parent 685186cc4d
commit fc75f205ee

View file

@ -139,8 +139,8 @@ func (prs *PolynomialRegressionSeries) values() (xvalues, yvalues []float64) {
for index := startIndex; index < endIndex; index++ { for index := startIndex; index < endIndex; index++ {
x, y := prs.InnerSeries.GetValue(index) x, y := prs.InnerSeries.GetValue(index)
xvalues[index] = x xvalues[index-startIndex] = x
yvalues[index] = y yvalues[index-startIndex] = y
} }
return return