aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ08nY2017-04-21 21:42:00 +0200
committerJ08nY2017-04-21 21:43:34 +0200
commit4b07f578ec1075dafc329929a0323738ee65af20 (patch)
tree215c1aed5363de78a0b3b71a10141b2e49a76d68
parent3b724ffc5aec0d53c698af4c04ae6396775c0616 (diff)
downloadecgen-4b07f578ec1075dafc329929a0323738ee65af20.tar.gz
ecgen-4b07f578ec1075dafc329929a0323738ee65af20.tar.zst
ecgen-4b07f578ec1075dafc329929a0323738ee65af20.zip
Insert the curve order to ell structure on anomalous_order
-rw-r--r--src/exhaustive/anomalous.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/exhaustive/anomalous.c b/src/exhaustive/anomalous.c
index 89cd55b..c87d61c 100644
--- a/src/exhaustive/anomalous.c
+++ b/src/exhaustive/anomalous.c
@@ -140,6 +140,7 @@ int anomalous_equation(curve_t *curve, const config_t *cfg, arg_t *args) {
int anomalous_order(curve_t *curve, const config_t *cfg, arg_t *args) {
// copy field to order
curve->order = gcopy(curve->field);
+ obj_insert(curve->curve, 1, curve->order);
return 1;
}