mirror of
https://github.com/gonum/gonum.git
synced 2025-10-05 07:06:54 +08:00
lapack/gonum: unify parameter checks
This commit is contained in:

committed by
Vladimír Chalupecký

parent
149afe6ec0
commit
7cc92e21e0
@@ -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)
|
||||
|
Reference in New Issue
Block a user