mirror of
https://github.com/gonum/gonum.git
synced 2025-09-27 03:26:04 +08:00
mat: Rename Solve(Vec) to Solve(Vec)To (#922)
* mat: Rename Solve(Vec) to Solev(Vec)To Fix #830.
This commit is contained in:
@@ -153,7 +153,7 @@ func (n *Newton) NextDirection(loc *Location, dir []float64) (stepSize float64)
|
||||
pd := n.chol.Factorize(n.hess)
|
||||
if pd {
|
||||
// Store the solution in d's backing array, dir.
|
||||
n.chol.SolveVec(d, grad)
|
||||
n.chol.SolveVecTo(d, grad)
|
||||
d.ScaleVec(-1, d)
|
||||
return 1
|
||||
}
|
||||
|
Reference in New Issue
Block a user