Skip to content
This repository has been archived by the owner on Nov 24, 2018. It is now read-only.

Commit

Permalink
Fix return name
Browse files Browse the repository at this point in the history
  • Loading branch information
btracey committed Sep 13, 2015
1 parent 739cba9 commit aa3ef8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions native/dgetri.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
// Dgetri is a blocked inversion, but the block size is limited
// by the temporary space available. If lwork == -1, instead of performing Dgetri,
// the optimal work length will be stored into work[0].
func (impl Implementation) Dgetri(n int, a []float64, lda int, ipiv []int, work []float64, lwork int) bool {
func (impl Implementation) Dgetri(n int, a []float64, lda int, ipiv []int, work []float64, lwork int) (ok bool) {
checkMatrix(n, n, a, lda)
if len(ipiv) < n {
panic(badIpiv)
Expand All @@ -36,7 +36,7 @@ func (impl Implementation) Dgetri(n int, a []float64, lda int, ipiv []int, work
if n == 0 {
return true
}
ok := impl.Dtrtri(blas.Upper, blas.NonUnit, n, a, lda)
ok = impl.Dtrtri(blas.Upper, blas.NonUnit, n, a, lda)
if !ok {
return false
}
Expand Down

0 comments on commit aa3ef8a

Please sign in to comment.