mirror of
https://github.com/gonum/gonum.git
synced 2025-10-28 01:21:44 +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
|
// Try with the optimum amount of work
|
||||||
copy(c, cCopy)
|
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]))
|
work = make([]float64, int(work[0]))
|
||||||
for i := range work {
|
for i := range work {
|
||||||
work[i] = rnd.Float64()
|
work[i] = rnd.Float64()
|
||||||
|
|||||||
Reference in New Issue
Block a user