aboutsummaryrefslogtreecommitdiff
path: root/src/exhaustive/ansi.c
diff options
context:
space:
mode:
authorJ08nY2017-09-30 20:45:33 +0200
committerJ08nY2017-09-30 20:45:33 +0200
commit8720b2359cb2f74e5b25beee712faa8001b2e73c (patch)
treefeeba4f49cddc7dcd3c18733ae1f4e97913d055c /src/exhaustive/ansi.c
parent137390f09976235da012a1279e5ba64e54e1c6e1 (diff)
downloadecgen-8720b2359cb2f74e5b25beee712faa8001b2e73c.tar.gz
ecgen-8720b2359cb2f74e5b25beee712faa8001b2e73c.tar.zst
ecgen-8720b2359cb2f74e5b25beee712faa8001b2e73c.zip
Diffstat (limited to 'src/exhaustive/ansi.c')
-rw-r--r--src/exhaustive/ansi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exhaustive/ansi.c b/src/exhaustive/ansi.c
index 51d20e5..d18ea02 100644
--- a/src/exhaustive/ansi.c
+++ b/src/exhaustive/ansi.c
@@ -183,9 +183,9 @@ static GENERATOR(ansi_gen_equation_f2m) {
GENERATOR(ansi_gen_equation) {
switch (cfg->field) {
case FIELD_PRIME:
- return ansi_gen_equation_fp(curve, cfg, args);
+ return ansi_gen_equation_fp(curve, cfg, args, state);
case FIELD_BINARY:
- return ansi_gen_equation_f2m(curve, cfg, args);
+ return ansi_gen_equation_f2m(curve, cfg, args, state);
default:
pari_err_BUG("Field not prime or binary?");
return INT_MIN; /* NOT REACHABLE */