Trying to break the test to make sure it works

Signed-off-by: Christopher Rabotin <christopher.rabotin@gmail.com>
This commit is contained in:
Christopher Rabotin 2020-09-24 23:46:24 -06:00 committed by Crozet Sébastien
parent 8dda6714b5
commit d534c3bf9d
1 changed files with 1 additions and 7 deletions

View File

@ -10,16 +10,10 @@ fn udu_simple() {
0.0, -1.0, 2.0); 0.0, -1.0, 2.0);
let udu = UDU::new(m); let udu = UDU::new(m);
println!("u = {}", udu.u);
println!("d = {}", udu.d);
// Rebuild // Rebuild
let p = &udu.u * &udu.d * &udu.u.transpose(); let p = &udu.u * &udu.d * &udu.u.transpose();
println!("{}", p); assert!(relative_eq!(m, 2.0*p, epsilon = 1.0e-7));
assert!(relative_eq!(m, p, epsilon = 1.0e-7));
} }
#[cfg(feature = "arbitrary")] #[cfg(feature = "arbitrary")]