diff --git a/src/field/extension_field/quadratic.rs b/src/field/extension_field/quadratic.rs index 1b9c78a1..48608f48 100644 --- a/src/field/extension_field/quadratic.rs +++ b/src/field/extension_field/quadratic.rs @@ -94,7 +94,7 @@ impl Field for QuadraticCrandallField { let first = self.0[0].to_canonical_biguint(); let second = self.0[1].to_canonical_biguint(); let combined = second * Self::CHARACTERISTIC + first; - + combined } diff --git a/src/field/extension_field/quartic.rs b/src/field/extension_field/quartic.rs index 15f90a5d..52452387 100644 --- a/src/field/extension_field/quartic.rs +++ b/src/field/extension_field/quartic.rs @@ -128,7 +128,7 @@ impl Field for QuarticCrandallField { let second = self.0[1].to_canonical_biguint(); let third = self.0[2].to_canonical_biguint(); let fourth = self.0[3].to_canonical_biguint(); - + let mut combined = fourth; combined *= Self::CHARACTERISTIC; combined += third; @@ -136,7 +136,7 @@ impl Field for QuarticCrandallField { combined += second; combined *= Self::CHARACTERISTIC; combined += first; - + combined } diff --git a/src/field/field_testing.rs b/src/field/field_testing.rs index e2ae0fa7..5ea6fb73 100644 --- a/src/field/field_testing.rs +++ b/src/field/field_testing.rs @@ -161,7 +161,7 @@ macro_rules! test_prime_field_arithmetic { // Can be 32 or 64; doesn't have to be computer's actual word // bits. Choosing 32 gives more tests... const WORD_BITS: usize = 32; - + #[test] fn arithmetic_addition() { let modulus = <$field>::order(); @@ -362,4 +362,3 @@ macro_rules! test_field_arithmetic { } }; } -