-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Description
I am trying to use the qr decomposition method but am getting signal: 11, SIGSEGV: invalid memory reference
whenever I call it.
Cargo.toml
:
[dependencies]
ndarray = { version = "0.16.1", features = ["blas", "rayon"] }
ndarray-linalg = { version = "0.17.0", features = ["openblas-system"] }
shell.nix
:
with import <nixpkgs> { };
mkShell {
buildInputs = [
rustup
gcc
bacon
pkg-config
openssl.dev
openblas
];
}
Minimal reproduction:
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.
Metadata
Metadata
Assignees
Labels
No labels