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 402033b commit 5145268
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 @@ -24,7 +24,7 @@ impl BinaryFieldElement {

// Method for multiplication in GF(2^k)
pub fn mul(&self, other: &Self) -> Self {
BinaryFieldElement::new(binmul(self.value.clone(), other.value.clone(), None))
Self::new(binmul(self.value.clone(), other.value.clone(), None))
}

// Method for division (multiplication by the inverse)
Expand Down

0 comments on commit 5145268

Please sign in to comment.