The C interface of Dormlq checks that "lda < m" for A regardless of the Side. This check is incorrect. The number of rows in A is m if side == left, but is n if side == right.
The code is line 58 of http://www.netlib.org/lapack/explore-ht ... ource.html
See
https://github.com/gonum/lapack/pull/32
and
https://github.com/xianyi/OpenBLAS/issu ... -129617183
For more information.

