mat: move SolveLU* onto LU

This commit is contained in:
kortschak
2017-06-30 14:41:42 +09:30
committed by Dan Kortschak
parent f9e7e06e3e
commit d87e74cea0
3 changed files with 11 additions and 11 deletions

View File

@@ -91,7 +91,7 @@ func (m *Dense) Solve(a, b Matrix) error {
}
var lu LU
lu.Factorize(a)
return m.SolveLU(&lu, false, b)
return lu.Solve(m, false, b)
case ar > ac:
var qr QR
qr.Factorize(a)