I am trying to use the qr decomposition method but am getting `signal: 11, SIGSEGV: invalid memory reference` whenever I call it. `Cargo.toml`: ```toml [dependencies] ndarray = { version = "0.16.1", features = ["blas", "rayon"] } ndarray-linalg = { version = "0.17.0", features = ["openblas-system"] } ``` `shell.nix`: ```nix with import <nixpkgs> { }; mkShell { buildInputs = [ rustup gcc bacon pkg-config openssl.dev openblas ]; } ``` Minimal reproduction: ```rust let mut rng = rand::rng(); let test = Array2::from_shape_fn((5, 5), |_| rng.random::<i8>() as f64); let (q, r) = test .qr().unwrap(); ``` removing the last line, this runs fine.
Activity
supinie commentedon Jul 23, 2025
I've also got this same error attempting to compute the inverse of a matrix, possibly indicating a dependency issue?
Still unsure as to the root cause of why, any help in understanding this issue would be greatly appreciated.