Fully qualify call.

This commit is contained in:
Nick Thompson
2018-12-04 12:09:31 -07:00
parent 0af165bf6d
commit 29e3ae824c

View File

@ -33,7 +33,7 @@ Z mod_inverse(Z a, Z modulus)
// a doesn't have a modular multiplicative inverse:
return Z(0);
}
boost::integer::euclidean_result_t<Z> u = extended_euclidean(a, modulus);
boost::integer::euclidean_result_t<Z> u = boost::integer::extended_euclidean(a, modulus);
if (u.gcd > Z(1))
{
return Z(0);