From 846133c6bfe72f57e6f1871b28fdd2b0fee479eb Mon Sep 17 00:00:00 2001 From: Will Charczuk Date: Mon, 17 Apr 2017 22:10:14 -0700 Subject: [PATCH] fixing test --- linear_regression_series_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())