mirror of
https://github.com/gonum/gonum.git
synced 2025-10-28 09:31:40 +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
|
iws := nw * nb
|
||||||
if lwork < iws {
|
if lwork < iws {
|
||||||
nb = lwork / nw
|
nb = lwork / nw
|
||||||
|
ldwork = nb
|
||||||
nbmin = max(2, impl.Ilaenv(2, "DORMQR", opts, m, n, k, -1))
|
nbmin = max(2, impl.Ilaenv(2, "DORMQR", opts, m, n, k, -1))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user