Skip to content

Commit 6df8d89

Browse files
committed
Fix typo: Mongtgomery -> Montgomery
1 parent d114863 commit 6df8d89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modular/div_by_2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub(crate) const fn div_by_2<const LIMBS: usize>(
1717
// Note that this also works if `a` is a Montgomery representation modulo `modulus`
1818
// of some integer `x`.
1919
// If `b + b = a mod modulus` it means that `y + y = x mod modulus` where `y` is the integer
20-
// whose Mongtgomery representation is `b`.
20+
// whose Montgomery representation is `b`.
2121

2222
let (half, is_odd) = a.shr1_with_carry();
2323
let half_modulus = modulus.0.shr1();

0 commit comments

Comments
 (0)