lapack/gonum: dgebrd.go has ineffectual assignment
Created by: kortschak
This is something that I left out of #78.
dgebrd.go has a report of ineffasign for the nx
variable here. This appears to be because of change to the choice in blocking choice parameters.
It seems to me that this could be rewritten as
if nb > 1 && nb < minmn {
if max(nb, impl.Ilaenv(3, "DGEBRD", " ", m, n, -1, -1)) < minmn {
ws = (m + n) * nb
if lwork < ws {
nbmin := impl.Ilaenv(2, "DGEBRD", " ", m, n, -1, -1)
if lwork >= (m+n)*nbmin {
nb = lwork / (m + n)
} else {
nb = minmn
}
}
}
}