Skip to content

Commit

Permalink
Update ff/src/fields/bf.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Coratger <[email protected]>
  • Loading branch information
martinsander00 and tcoratger authored Dec 13, 2024
1 parent 874b3f9 commit b131e86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ff/src/fields/bf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub struct BinaryFieldElement {
impl BinaryFieldElement {
// Constructor to create a new [`BinaryFieldElement`]
pub fn new(value: BigUint) -> Self {
BinaryFieldElement { value }
Self { value }
}

// Method for addition in GF(2^k)
Expand Down

0 comments on commit b131e86

Please sign in to comment.