We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 993e047 commit 52bb21aCopy full SHA for 52bb21a
tests/solve.rs
@@ -23,7 +23,7 @@ fn solve_random_t() {
23
fn rcond() {
24
macro_rules! rcond {
25
($elem:ty, $rows:expr, $atol:expr) => {
26
- let a: Array2<$elem> = random(($rows, $rows));
+ let a: Array2<$elem> = random_hpd($rows);
27
let rcond = 1. / (a.opnorm_one().unwrap() * a.inv().unwrap().opnorm_one().unwrap());
28
assert_aclose!(a.rcond().unwrap(), rcond, $atol);
29
assert_aclose!(a.rcond_into().unwrap(), rcond, $atol);
0 commit comments