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 3e13736 commit fb1b6d6Copy full SHA for fb1b6d6
ndarray-linalg/tests/solve.rs
@@ -254,7 +254,7 @@ fn rcond_hilbert() {
254
macro_rules! rcond_hilbert {
255
($elem:ty, $rows:expr, $atol:expr) => {
256
let a = Array2::<$elem>::from_shape_fn(($rows, $rows), |(i, j)| {
257
- 1. / (i as $elem + j as $elem - 1.)
+ 1. / (i as $elem + j as $elem + 1.)
258
});
259
assert_aclose!(a.rcond().unwrap(), 0., $atol);
260
assert_aclose!(a.rcond_into().unwrap(), 0., $atol);
0 commit comments