Debian Codegraph @

debian/patches/relax_test

raw symbols SCIP
1 From: Michael R. Crusoe <[email protected]>
2 Subject: Adjust test for i386
3 Forwarded: https://github.com/vorot/roots/pull/34
4 --- roots.orig/src/numerical/eigen.rs
5 +++ roots/src/numerical/eigen.rs
6 @@ -725,7 +725,7 @@
7 // (According to Wolfram Alpha, roots must be -1.1016116464173349f64, 0.9682783130840016f64)
8 // This means that this function cannot handle such small discriminant.
9 // But at least it finds the right number of them.
10 - assert_eq!(roots[0], 0.9990584398692597f64);
11 - assert_eq!(roots[1], 0.12511486301943303f64);
12 + assert_float_eq!(1e-14f64, roots[0], 0.9990584398692597f64);
13 + assert_float_eq!(1e-14f64, roots[1], 0.12511486301943303f64);
14 }
15 }