n_gcd_full -> n_gcd deprecation

This commit is contained in:
dan 2022-05-11 12:33:32 +02:00
parent 6896d18136
commit 3e7ed240be
2 changed files with 2 additions and 2 deletions

View file

@ -112,7 +112,7 @@ acb_modular_hilbert_class_poly(fmpz_poly_t res, slong D)
do
{
if (ac % a == 0 && n_gcd_full(n_gcd(a, b), ac/a) == 1)
if (ac % a == 0 && n_gcd(n_gcd(a, b), ac/a) == 1)
{
c = ac / a;

View file

@ -21,7 +21,7 @@ arb_fmpz_poly_gauss_period_minpoly(fmpz_poly_t res, ulong q, ulong n)
int done, real;
if (n == 0 || !n_is_prime(q) || ((q - 1) % n) != 0 ||
n_gcd_full(n, (q - 1) / n) != 1)
n_gcd(n, (q - 1) / n) != 1)
{
fmpz_poly_zero(res);
return;