Skip to content

blas axpy test is not meaningful #255

@rotu

Description

@rotu

The axpy test checks that the return value of axpy is the same as the return value of nblas.daxpy. These functions actually have return type void so the check is just that undefined === undefined!

The actual thing saxpy/daxpy should do is mutate y in place.

deepStrictEqual(axpy('float64', n, alpha, x, 1, y, 1), nblas.daxpy(n, alpha, x, 1, y, 1));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions