summaryrefslogtreecommitdiff
path: root/src/gf_general.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gf_general.c')
-rw-r--r--src/gf_general.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gf_general.c b/src/gf_general.c
index 8fcc737..7f187b5 100644
--- a/src/gf_general.c
+++ b/src/gf_general.c
@@ -17,6 +17,7 @@
#include <string.h>
#include <stdlib.h>
#include <time.h>
+#include <assert.h>
#include "gf_complete.h"
#include "gf_int.h"
@@ -311,7 +312,7 @@ void gf_general_do_region_check(gf_t *gf, gf_general_t *a, void *orig_a, void *o
if (xor) fprintf(stderr," XOR with target word: %s\n", sot);
fprintf(stderr," Product word: %s\n", sft);
fprintf(stderr," It should be: %s\n", ssb);
- exit(0);
+ assert(0);
}
}
}