rename variable

This commit is contained in:
filifa 2025-08-19 22:44:53 -04:00
parent 117b046be8
commit 00a7d213d3
1 changed files with 2 additions and 2 deletions

View File

@ -59,8 +59,8 @@ func computeNaive(modulus *big.Int) (*big.Int, error) {
phi := totient(modulus)
for g := big.NewInt(1); g.Cmp(modulus) == -1; g.Add(g, big.NewInt(1)) {
tmp := new(big.Int).GCD(nil, nil, g, modulus)
if tmp.Cmp(big.NewInt(1)) != 0 {
gcd := new(big.Int).GCD(nil, nil, g, modulus)
if gcd.Cmp(big.NewInt(1)) != 0 {
continue
}