POLY: improve inline doc

This commit is contained in:
hasufell 2014-05-25 03:57:51 +02:00
parent 3905b4aba9
commit b71e4b1ce2
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020

View File

@ -597,7 +597,7 @@ bool poly_inverse_poly_p(fmpz_poly_t a,
fmpz_poly_set_coeff_fmpz_n(Fp, j, b_i); fmpz_poly_set_coeff_fmpz_n(Fp, j, b_i);
} }
/* check if the f * Fq = 1 (mod p) condition holds true */ /* check if the f * Fp = 1 (mod p) condition holds true */
fmpz_poly_set(a_tmp, a); fmpz_poly_set(a_tmp, a);
poly_starmultiply(a_tmp, Fp, a_tmp, ctx, ctx->p); poly_starmultiply(a_tmp, Fp, a_tmp, ctx, ctx->p);
if (!fmpz_poly_is_one(a_tmp)) if (!fmpz_poly_is_one(a_tmp))