Skip to content

segfault in ?gelss with nrhs=0  #875

@eaberendeev

Description

@eaberendeev

For example single precision, but there is in all precision.

For nrhs = 0 there is copy (line 530) N elements to B array, but size of B can be less then N

gelss

I suggest add condition

IF NRHS > 0

for this condition branch
and for branch on line 638 and 713
sgelss

gelss3

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