Skip to content

xAXPBY with INCY<0, xA=0, and xB/=0 #1327

Description

@venovako

Please check xAXPBY in the Reference BLAS for the following conditions:

  • N>0,
  • INCY<0,
  • xA=0, and
  • xB/=0.

Then, if I get it correctly, xSCAL should be called,
CALL xSCAL(N, xB, xY, INCY).

However, xSCAL returns early when the increment is non-positive, i.e., does not scale xY by xB.
This does not look like the intended operation of xAXPBY.
Thanks!

(As a side note, there are two typos:
End of ZAXBPY and End of CAXBPY instead of ZAXPBY and CAXPBY, respectively.)

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