tweaks
This commit is contained in:
parent
685186cc4d
commit
fc75f205ee
|
@ -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 New Issue
Block a user