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

stack overflow in into_inverse_alloc #98

Open
mscroggs opened this issue Nov 19, 2024 · 0 comments
Open

stack overflow in into_inverse_alloc #98

mscroggs opened this issue Nov 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mscroggs
Copy link
Collaborator

mscroggs commented Nov 19, 2024

Getting a stack overflow for a 100 by 100 matrix on this line:

unsafe { $getrf(m, m, arr.data_mut(), lda, &mut ipiv, &mut info) }

Example code that gets this error:

let size = 100;
let mut m = rlst_dynamic_array2!(f64, [size, size]);
for i in 0..size {
    m[[i, i]] = 1.0;
}
m.view_mut().into_inverse_alloc().unwrap();
@mscroggs mscroggs added the bug Something isn't working label Nov 19, 2024
mscroggs added a commit to bempp/ndelement that referenced this issue Nov 27, 2024
mscroggs added a commit to bempp/ndelement that referenced this issue Nov 27, 2024
* version number -> 0.2.0

* Python exceptions rather than Rust panics for linalg-rs/rlst#98

* format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant