diff options
| author | J08nY | 2017-05-29 15:11:38 +0200 |
|---|---|---|
| committer | J08nY | 2017-05-29 15:11:38 +0200 |
| commit | ba8c1f2bc424205cbb167b3c65ce184912c6173a (patch) | |
| tree | db21c80b3e7ed411ddbdc4151f82b875b83f279e /src/math/poly.c | |
| parent | 03eedf3f3e69093af6fd2717bbad04ffdfc7c25a (diff) | |
| download | ecgen-ba8c1f2bc424205cbb167b3c65ce184912c6173a.tar.gz ecgen-ba8c1f2bc424205cbb167b3c65ce184912c6173a.tar.zst ecgen-ba8c1f2bc424205cbb167b3c65ce184912c6173a.zip | |
Diffstat (limited to 'src/math/poly.c')
| -rw-r--r-- | src/math/poly.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/math/poly.c b/src/math/poly.c index 2b655da..460770f 100644 --- a/src/math/poly.c +++ b/src/math/poly.c @@ -2740,8 +2740,6 @@ polynomial_t *poly_find(unsigned long m) { } } -GEN poly_find_gen(unsigned long m) { return poly_gen(poly_find(m)); } - GEN poly_gen(const polynomial_t *polynomial) { pari_sp ltop = avma; @@ -2755,3 +2753,5 @@ GEN poly_gen(const polynomial_t *polynomial) { GEN poly = gmul(gtopolyrev(coeffs, -1), gmodulss(1, 2)); return gerepilecopy(ltop, ffgen(poly, -1)); } + +GEN poly_find_gen(unsigned long m) { return poly_gen(poly_find(m)); } |
