aboutsummaryrefslogtreecommitdiff
path: root/src/gen/field.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gen/field.c')
-rw-r--r--src/gen/field.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen/field.c b/src/gen/field.c
index b7dd40b..7780406 100644
--- a/src/gen/field.c
+++ b/src/gen/field.c
@@ -84,7 +84,7 @@ GENERATOR(field_gen_input) {
gel(v, 1) = gen_1;
GEN poly = gmul(gtopolyrev(v, -1), gmodulss(1, 2));
- if (!isirreducible(poly)) {
+ if (!polisirreducible(poly)) {
fprintf(err, "Polynomial is reducible.\n");
avma = ltop;
return 0;