Closed
Description
Please see gonum/lapack#32 for more information and a reproducer.
The size test in Dormlq for row major is incorrect. Line 56 of https://github.com/xianyi/OpenBLAS/blob/develop/lapack-netlib/lapacke/src/lapacke_dormlq_work.c tests that the stride of A is less than m. However, the size of m is dependent on the Side on which A is multiplied. If A is on the left, the stride must be at least m, but if A is on the right, it only has to have stride n. Thus, the check should be conditional on the Side of the matrix multiplication.