aboutsummaryrefslogtreecommitdiff
path: root/src/exhaustive/anomalous.h
diff options
context:
space:
mode:
authorJ08nY2017-06-01 01:46:25 +0200
committerJ08nY2017-06-01 01:46:25 +0200
commit261e0ce6530387db48a07c3f8925dd67e63c28bf (patch)
tree6f41122a982f13a0ba828d7ade2b8af326546ae3 /src/exhaustive/anomalous.h
parent63427ed3415b25bd29c5e1fe71ef9883d955bfcf (diff)
downloadecgen-261e0ce6530387db48a07c3f8925dd67e63c28bf.tar.gz
ecgen-261e0ce6530387db48a07c3f8925dd67e63c28bf.tar.zst
ecgen-261e0ce6530387db48a07c3f8925dd67e63c28bf.zip
Renamed a bunch of generators.
Diffstat (limited to 'src/exhaustive/anomalous.h')
-rw-r--r--src/exhaustive/anomalous.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/exhaustive/anomalous.h b/src/exhaustive/anomalous.h
index 9111919..ff6c053 100644
--- a/src/exhaustive/anomalous.h
+++ b/src/exhaustive/anomalous.h
@@ -9,9 +9,9 @@
#define ECGEN_ANOMALOUS_H
#include <pari/pari.h>
-#include "io/cli.h"
#include "arg.h"
#include "gen/types.h"
+#include "io/cli.h"
typedef struct disc_t {
GEN d;
@@ -27,7 +27,7 @@ typedef struct disc_t {
* @param args the index of the discriminant to use, in the disc_table
* @return state diff
*/
-int anomalous_field(curve_t *curve, const config_t *cfg, arg_t *args);
+GENERATOR(anomalous_gen_field);
/**
* GENERATOR(gen_t)
@@ -37,7 +37,7 @@ int anomalous_field(curve_t *curve, const config_t *cfg, arg_t *args);
* @param args the index of the discriminant to use, in the disc_table
* @return state diff
*/
-int anomalous_equation(curve_t *curve, const config_t *cfg, arg_t *args);
+GENERATOR(anomalous_gen_equation);
/**
* GENERATOR(gen_t)
@@ -47,7 +47,7 @@ int anomalous_equation(curve_t *curve, const config_t *cfg, arg_t *args);
* @param args unused
* @return state diff
*/
-int anomalous_order(curve_t *curve, const config_t *cfg, arg_t *args);
+GENERATOR(anomalous_gen_order);
/**
* @brief Initialize anomalous generation, allocate and set the disc_table.