Mentions légales du service

Skip to content
Snippets Groups Projects
Commit f6a7a37d authored by Andreas Enge's avatar Andreas Enge
Browse files

Make sure factors of polynomials modulo p are monic.

The previous code worked with FLINT, which apparently normalises the gcd,
but not with PARI.

* lib/pari.c (mpzx_monic_mod): New function.
  (mpzx_gcd_mod, mpzx_oneroot_split_mod): Use new function.
parent 2547365c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment