mirror of
https://github.com/gonum/gonum.git
synced 2025-10-28 01:21:44 +08:00
native: fix computation of ldwork in Dormqr
This commit is contained in:
@@ -75,6 +75,7 @@ func (impl Implementation) Dormqr(side blas.Side, trans blas.Transpose, m, n, k
|
||||
iws := nw * nb
|
||||
if lwork < iws {
|
||||
nb = lwork / nw
|
||||
ldwork = nb
|
||||
nbmin = max(2, impl.Ilaenv(2, "DORMQR", opts, m, n, k, -1))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user