diff options
| author | J08nY | 2017-04-20 23:23:30 +0200 |
|---|---|---|
| committer | J08nY | 2017-04-20 23:23:30 +0200 |
| commit | 9ec5d549bc9785ee0bc69bcf5946f251a8cb52c5 (patch) | |
| tree | bc7c0e97d002fc0ab8d4ff62a8d4a5e0e60e5757 | |
| parent | 4678e2f4c4ca1d1bd35a8656d20a5a3b57a35956 (diff) | |
| download | ecgen-9ec5d549bc9785ee0bc69bcf5946f251a8cb52c5.tar.gz ecgen-9ec5d549bc9785ee0bc69bcf5946f251a8cb52c5.tar.zst ecgen-9ec5d549bc9785ee0bc69bcf5946f251a8cb52c5.zip | |
Fix some newlines.
| -rw-r--r-- | src/math/order.c | 3 | ||||
| -rw-r--r-- | src/math/point.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/math/order.c b/src/math/order.c index 3235a30..037a7f7 100644 --- a/src/math/order.c +++ b/src/math/order.c @@ -29,9 +29,10 @@ int order_sea(curve_t *curve, const config_t *cfg, arg_t *args) { int order_smallfact(curve_t *curve, const config_t *cfg, arg_t *args) { if (!args) { - fprintf(stderr, "No args to an arged function. order_smallfact"); + fprintf(stderr, "No args to an arged function. order_smallfact\n"); return INT_MIN; } + pari_ulong smallfact = *(pari_ulong *)args->args; pari_sp ltop = avma; GEN fact = mpfact(smallfact); diff --git a/src/math/point.c b/src/math/point.c index 8b3dcef..5233b6d 100644 --- a/src/math/point.c +++ b/src/math/point.c @@ -118,7 +118,7 @@ int point_random(curve_t *curve, const config_t *cfg, arg_t *args) { int points_random(curve_t *curve, const config_t *cfg, arg_t *args) { if (!args) { - fprintf(stderr, "No args to an arged function. points_random"); + fprintf(stderr, "No args to an arged function. points_random\n"); return INT_MIN; } @@ -154,7 +154,7 @@ int points_random(curve_t *curve, const config_t *cfg, arg_t *args) { int points_trial(curve_t *curve, const config_t *cfg, arg_t *args) { // TODO stack code!!! if (!args) { - fprintf(stderr, "No args to an arged function. points_trial"); + fprintf(stderr, "No args to an arged function. points_trial\n"); return INT_MIN; } |
