tweaks
This commit is contained in:
parent
685186cc4d
commit
fc75f205ee
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue