Skip to content

Dormlq incorrect size test for Row Major #615

Closed
@btracey

Description

@btracey

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions