summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--charf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/charf.c b/charf.c
index 4b23ff0..fec7c04 100644
--- a/charf.c
+++ b/charf.c
@@ -35,7 +35,7 @@
#define STRING_SIZE 65536
/*maximum length of the support of f*/
-#define N 20
+#define N 24
/*maximal order of derivative*/
#define K 24
@@ -276,7 +276,7 @@ void format_results(char* text, int num_exponents[K+1], EXPTYPE exponents[K+1][P
l += sprintf(text+l,"%s%s\n",s,newline);
}
/*Remove last \\ and \n*/
- text[l-4] = '\0';
+ if(format == FORMAT_LATEX) text[l-4] = '\0';
}
void print_records(int num_exponents[K+1], EXPTYPE exponents[K+1][P], VALUETYPE ratios[K+1][P], int indeces[K+1][P]){
@@ -333,6 +333,7 @@ int main() {
for(int k=0; k<=K; k++){
num_exponents[k] = 1;
exponents[k][0] = int_to_exptype(1);
+ //exponents[k][1] = int_to_exptype(2);
}
pthread_t threads[NUM_THREADS];