Skip to content

Commit 03302a9

Browse files
committed
fit: fix typo in panic message
1 parent 0ff62e0 commit 03302a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fit/lsquares.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func LinearLeastSquares(xs, ys, weights []float64, terms ...func(xs, termOut []f
5151
panic("len(xs) != len(ys)")
5252
}
5353
if weights != nil && len(xs) != len(weights) {
54-
panic("len(xs) != len(weights")
54+
panic("len(xs) != len(weights)")
5555
}
5656

5757
// Construct 𝐗ᵀ. This is the more convenient representation

0 commit comments

Comments
 (0)