Skip to content

Wrong uplo value in LAPACKE_?larfb #877

Closed

Description

@vladimir-ch

Description

LAPACKE_?larfb and LAPACKE_?larfb_work routines compute an uplo value based on the input parameters in order to transpose the trapezoidal matrix V. This computation wrongly uses the parameter left (side) instead of the correct forward (direct).

In other words, instead of

uplo = ( ( left && col ) || !( left || col ) ) ? 'l' : 'u';

the code should do

uplo = ( ( forward && col ) || !( forward || col ) ) ? 'l' : 'u';

With this fix our Gonum tests (for Dlarfb) pass again.

Checklist

  • I've included a minimal example to reproduce the issue
  • I'd be willing to make a PR to solve this issue

Activity

  1. langou commented on Jul 7, 2023

    @langou
    Contributor

    Hi @vladimir-ch, Thanks! A PR from you to fix this issue sounds good to me! @langou.

  2. added a commit that references this issue on Jul 7, 2023
    5ea1d00
  3. added a commit that references this issue on Aug 1, 2023
    01cb377
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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