lapack/gonum: unify parameter checks

This commit is contained in:
Vladimir Chalupecky
2019-02-14 16:42:59 +01:00
committed by Vladimír Chalupecký
parent 454e9ef3f4
commit 70a1e933af
16 changed files with 288 additions and 135 deletions

View File

@@ -559,11 +559,15 @@ func testDgeev(t *testing.T, impl Dgeever, tc string, test dgeevTest, jobvl lapa
var vl blas64.General
if jobvl == lapack.LeftEVCompute {
vl = nanGeneral(n, n, n)
} else {
vl.Stride = 1
}
var vr blas64.General
if jobvr == lapack.RightEVCompute {
vr = nanGeneral(n, n, n)
} else {
vr.Stride = 1
}
wr := make([]float64, n)