Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lightsing committed Aug 23, 2024
1 parent 71ba72a commit 1773ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fr_sp1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ impl Fr {
CtOption::new(Fr(tmp), Choice::from(is_some))
}

pub fn from_raw(limbs: [u64; 4]) -> Fr {
pub const fn from_raw(limbs: [u64; 4]) -> Fr {
// FIXME: handle limbs that are larger than modulus.
let mut tmp = [0, 0, 0, 0, 0, 0, 0, 0];

Expand Down

0 comments on commit 1773ed6

Please sign in to comment.