ndarray-linalg
ndarray-linalg copied to clipboard
Deterministic testing
Some test fails randomly because they use random vectors without fixing its value via seed. This reduces the worth of auto-testing since we have to check the CI failure is due to bug in changes or due to random number.
TODO
- [x] Add API to use any random number generator (RNG) in
ndarray_linalg::generate#337 - [x] Replace random vector generation in tests using fixed seed RNG #338
Tests for LOBPCG still randomly fails due to it uses random in itself. It should accept to use specific RNG.