Skip to content

Commit

Permalink
Update bignat.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
nnsW3 authored Aug 22, 2024
1 parent f2a3413 commit e8dae3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gadgets/nonnative/bignat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ impl<Scalar: PrimeField> BigNat<Scalar> {
) -> Result<(), SynthesisError> {
self.enforce_limb_width_agreement(other, "equal_when_carried")?;

// We'll propegate carries over the first `n` limbs.
// We'll propagate carries over the first `n` limbs.
let n = min(self.limbs.len(), other.limbs.len());
let target_base = BigInt::from(1u8) << self.params.limb_width as u32;
let mut accumulated_extra = BigInt::from(0usize);
Expand Down

0 comments on commit e8dae3c

Please sign in to comment.