aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ecgen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ecgen.c b/src/ecgen.c
index 3ccc750..987a495 100644
--- a/src/ecgen.c
+++ b/src/ecgen.c
@@ -58,7 +58,9 @@ bool init(void) {
// init the modular polynomial db from seadata
pari_sp ltop = avma;
- ellmodulareqn(2, -1, -1);
+ pari_CATCH(e_FILE) {}
+ pari_TRY { ellmodulareqn(2, -1, -1); }
+ pari_ENDCATCH
avma = ltop;
// open outfile