From ab9961a96eea6c085d41dec364b803930ea3d389 Mon Sep 17 00:00:00 2001 From: Michael Sh Date: Tue, 10 Dec 2024 20:47:24 +0300 Subject: [PATCH] Slightly refactored --- coeffs/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coeffs/utils.go b/coeffs/utils.go index a292892..23f2f35 100644 --- a/coeffs/utils.go +++ b/coeffs/utils.go @@ -98,7 +98,7 @@ func parseArrayToFloat(raw_data []string) (*[]float64, error) { for index, token := range raw_data { real_data, err := strconv.ParseFloat(token, 32) if err != nil { - return nil, errors.New("Unable to parse coeffs.") + return nil, errors.New("unable to parse coeffs") } if index == len(raw_data)-1 { // real value calculated for the SV column