Skip to content

Commit 04c1791

Browse files
crhntrjonathaningram
authored andcommitted
remove duplicate "to" in regression.ErrTooManyVars
It looks like there is a typo here.
1 parent d629f2e commit 04c1791

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

regression.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ var (
1414
// ErrNotEnoughData signals that there weren't enough datapoint to train the model.
1515
ErrNotEnoughData = errors.New("not enough data points")
1616
// ErrTooManyVars signals that there are too many variables for the number of observations being made.
17-
ErrTooManyVars = errors.New("not enough observations to to support this many variables")
17+
ErrTooManyVars = errors.New("not enough observations to support this many variables")
1818
// ErrRegressionRun signals that the Run method has already been called on the trained dataset.
1919
ErrRegressionRun = errors.New("regression has already been run")
2020
)

0 commit comments

Comments
 (0)