From 23653ebacb8f60c6acf04e5e27d7255d96f0078c Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Wed, 14 Jul 2021 11:00:19 +0900 Subject: [PATCH] mat: fix typo --- mat/cholesky.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mat/cholesky.go b/mat/cholesky.go index 0ef05ee5..6f65d425 100644 --- a/mat/cholesky.go +++ b/mat/cholesky.go @@ -617,7 +617,7 @@ func (c *Cholesky) SymRankOne(orig *Cholesky, alpha float64, x Vector) (ok bool) c, s, r, _ := blas64.Rotg(umat.Data[i*stride+i], work[i]) if r < 0 { // Multiply by -1 to have positive diagonal - // elemnts. + // elements. r *= -1 c *= -1 s *= -1