From c5c6b9e99f824a51a610cd04d9fe99b90101a110 Mon Sep 17 00:00:00 2001 From: Roman Sarvarov Date: Sat, 19 Nov 2022 00:12:55 +0300 Subject: [PATCH] Remove forgotten log (#113) Thank you! --- regression.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/regression.go b/regression.go index e697cba..1ebd050 100644 --- a/regression.go +++ b/regression.go @@ -5,10 +5,6 @@ package indicator -import ( - "log" -) - // Least square. // // y = mx + b @@ -97,8 +93,6 @@ func MovingLinearRegressionUsingLeastSquare(period int, x, y []float64) []float6 m, b := MovingLeastSquare(period, x, y) r := make([]float64, len(x)) - log.Println(m) - log.Println(b) for i := 0; i < len(r); i++ { r[i] = (m[i] * x[i]) + b[i]