diff --git a/src/test/test_matrix.rs b/src/test/test_matrix.rs index 38bdacc..cc7142e 100644 --- a/src/test/test_matrix.rs +++ b/src/test/test_matrix.rs @@ -18,8 +18,8 @@ fn test_Mat2() { assert a == Mat2::from_cols(Vec2::new(1f, 3f), Vec2::new(2f, 4f)); - assert Mat2::from_value::(4f64) == Mat2::new::(4f64, 0f64, - 0f64, 4f64); + assert Mat2::from_value(4f64) == Mat2::new(4f64, 0f64, + 0f64, 4f64); assert a[0] == Vec2::new(1f, 3f); assert a[1] == Vec2::new(2f, 4f);