This commit is contained in:
Will Charczuk 2017-04-24 23:06:50 -07:00
parent 685186cc4d
commit fc75f205ee
1 changed files with 2 additions and 2 deletions

View File

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