Merge pull request #419 from tthsqe12/remove_deprecated_flint2p9

n_gcd_full -> n_gcd deprecation
This commit is contained in:
Fredrik Johansson 2022-05-13 10:05:13 +02:00 committed by GitHub
commit bccb6ce632
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 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; 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; int done, real;
if (n == 0 || !n_is_prime(q) || ((q - 1) % n) != 0 || 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); fmpz_poly_zero(res);
return; return;