forked from M-Labs/nalgebra
format
This commit is contained in:
parent
914a7cf1fa
commit
343eb214ef
@ -1266,10 +1266,7 @@ fn column_iterator_double_ended_mut() {
|
|||||||
#[test]
|
#[test]
|
||||||
fn test_inversion_failure_leaves_matrix4_unchanged() {
|
fn test_inversion_failure_leaves_matrix4_unchanged() {
|
||||||
let mut mat = na::Matrix4::new(
|
let mut mat = na::Matrix4::new(
|
||||||
1.0, 2.0, 3.0, 4.0,
|
1.0, 2.0, 3.0, 4.0, 2.0, 4.0, 6.0, 8.0, 3.0, 6.0, 9.0, 12.0, 4.0, 8.0, 12.0, 16.0,
|
||||||
2.0, 4.0, 6.0, 8.0,
|
|
||||||
3.0, 6.0, 9.0, 12.0,
|
|
||||||
4.0, 8.0, 12.0, 16.0
|
|
||||||
);
|
);
|
||||||
let expected = mat.clone();
|
let expected = mat.clone();
|
||||||
assert!(!mat.try_inverse_mut());
|
assert!(!mat.try_inverse_mut());
|
||||||
|
Loading…
Reference in New Issue
Block a user