Skip to content

Commit 14b656d

Browse files
committed
lapack/netlib: remove unreachable code
1 parent a49e283 commit 14b656d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lapack/netlib/lapack.go

-2
Original file line numberDiff line numberDiff line change
@@ -2061,7 +2061,6 @@ func (impl Implementation) Dgetri(n int, a []float64, lda int, ipiv []int, work
20612061

20622062
if lwork == -1 {
20632063
return lapacke.Dgetri(n, a, lda, nil, work, -1)
2064-
return true
20652064
}
20662065

20672066
switch {
@@ -3309,7 +3308,6 @@ func (impl Implementation) Dsyev(jobz lapack.EVJob, uplo blas.Uplo, n int, a []f
33093308

33103309
if lwork == -1 {
33113310
return lapacke.Dsyev(byte(jobz), byte(uplo), n, a, lda, w, work, -1)
3312-
return
33133311
}
33143312

33153313
switch {

0 commit comments

Comments
 (0)