Add template argument to green up build. Remove discrete log as we do not have an overflow-resistant mul_mod in boost.

This commit is contained in:
Nick Thompson
2018-10-26 16:58:30 -06:00
parent 3632ae43b2
commit e0646cb7ec
5 changed files with 1 additions and 397 deletions

View File

@ -26,7 +26,7 @@ void test_extended_euclidean()
{
for (Z n = m; n > 0; --n)
{
boost::integer::euclidean_result_t u = extended_euclidean(m, n);
boost::integer::euclidean_result_t<Z> u = extended_euclidean(m, n);
int256_t gcdmn = gcd(m, n);
int256_t x = u.x;
int256_t y = u.y;