lapack/testlapack: use lda at least 1 in test for Dormlq
MODIFY
lapack/testlapack/dormlq.go
lapack/testlapack/dormlq.go
@@ -67,7 +67,7 @@ func DormlqTest(t *testing.T, impl Dormlqer) {
// Generate a random matrix
lda := test.lda
if lda == 0 {
- lda = na
+ lda = max(1, na)
}
a := make([]float64, ma*lda)
for i := range a {

lapack/testlapack: use lda at least 1 in test for Dormlq