Test: minor style fix

This commit is contained in:
Sébastien Crozet 2021-12-30 22:28:55 +01:00
parent 8e0ca439c2
commit 67a82c2c88
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ mod proptest_tests {
assert_relative_eq!(m, &p* &u, epsilon = 1.0e-5); assert_relative_eq!(m, &p* &u, epsilon = 1.0e-5);
// semi-unitary check // semi-unitary check
assert_eq!(true, (u.is_orthogonal(1.0e-5))); assert!(u.is_orthogonal(1.0e-5));
// hermitian check // hermitian check
assert_relative_eq!(p, p.adjoint(), epsilon = 1.0e-5); assert_relative_eq!(p, p.adjoint(), epsilon = 1.0e-5);