mirror of
https://github.com/gonum/gonum.git
synced 2025-10-25 08:10:28 +08:00
testlapack: use nil for slice arguments in workspace query in DormqrTest
This commit is contained in:
@@ -113,7 +113,7 @@ func DormqrTest(t *testing.T, impl Dormqrer) {
|
||||
|
||||
// Try with the optimum amount of work
|
||||
copy(c, cCopy)
|
||||
impl.Dormqr(side, trans, mc, nc, k, a, lda, tau, c, ldc, work, -1)
|
||||
impl.Dormqr(side, trans, mc, nc, k, nil, lda, nil, nil, ldc, work, -1)
|
||||
work = make([]float64, int(work[0]))
|
||||
for i := range work {
|
||||
work[i] = rnd.Float64()
|
||||
|
||||
Reference in New Issue
Block a user