mirror of
https://github.com/gonum/gonum.git
synced 2025-11-01 19:12:45 +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:
@@ -138,7 +138,7 @@ func Mahalanobis(x, y mat.Vector, chol *mat.Cholesky) float64 {
|
||||
var diff mat.VecDense
|
||||
diff.SubVec(x, y)
|
||||
var tmp mat.VecDense
|
||||
err := chol.SolveVec(&tmp, &diff)
|
||||
err := chol.SolveVecTo(&tmp, &diff)
|
||||
if err != nil {
|
||||
return math.NaN()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user