mirror of
https://github.com/gonum/gonum.git
synced 2025-10-06 23:52:47 +08:00
mat: fix typo
This commit is contained in:

committed by
Dan Kortschak

parent
c7a4930564
commit
23653ebacb
@@ -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
|
||||
|
Reference in New Issue
Block a user