diff --git a/linear_regression_series_test.go b/linear_regression_series_test.go index 4a72669..b8c39e1 100644 --- a/linear_regression_series_test.go +++ b/linear_regression_series_test.go @@ -62,7 +62,7 @@ func TestLinearRegressionSeriesWindowAndOffset(t *testing.T) { linRegSeries := &LinearRegressionSeries{ InnerSeries: mainSeries, Offset: 10, - Window: 10, + Limit: 10, } assert.Equal(10, linRegSeries.Len())