Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LAPACKE_dlansy segfaults on valid matrix #639

Closed
kortschak opened this issue Sep 10, 2015 · 0 comments
Closed

LAPACKE_dlansy segfaults on valid matrix #639

kortschak opened this issue Sep 10, 2015 · 0 comments

Comments

@kortschak
Copy link
Contributor

The code below causes LAPACKE_dlansy to segfault:

#include <stdio.h>
#include <lapacke.h>

int row_major = 101;

int main() {
    int norm='O', uplo='U', n=3, lda=3;
    double a[9]= {
        89, 59, 77,
         0,107, 59,
         0,  0, 89
    };

    double res;
    res = LAPACKE_dlansy(row_major, norm, uplo, n, a, lda);
    printf("dlansy res=%f\n", res);
}
@kortschak kortschak changed the title LAPACKE_dlansy segaults on valid matrix LAPACKE_dlansy segfaults on valid matrix Sep 10, 2015
@xianyi xianyi closed this as completed in d6e8459 Sep 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant