lapack/gonum: unify parameter checks

This commit is contained in:
Vladimir Chalupecky
2019-02-20 17:37:56 +01:00
committed by Vladimír Chalupecký
parent 149afe6ec0
commit 7cc92e21e0
49 changed files with 945 additions and 583 deletions

View File

@@ -63,7 +63,7 @@ func testDtrexc(t *testing.T, impl Dtrexcer, compq lapack.UpdateSchurComp, tmat
work := nanSlice(n)
ifstGot, ilstGot, ok := impl.Dtrexc(compq, n, tmat.Data, tmat.Stride, q.Data, q.Stride, ifst, ilst, work)
ifstGot, ilstGot, ok := impl.Dtrexc(compq, n, tmat.Data, tmat.Stride, q.Data, max(1, q.Stride), ifst, ilst, work)
prefix := fmt.Sprintf("Case compq=%v, n=%v, ifst=%v, nbf=%v, ilst=%v, nbl=%v, extra=%v",
compq, n, ifst, fstSize, ilst, lstSize, extra)