diff options
| author | Julian Weigt <juw@posteo.de> | 2026-01-17 20:58:03 +0100 |
|---|---|---|
| committer | Julian Weigt <juw@posteo.de> | 2026-02-04 15:56:44 +0100 |
| commit | bcd034817c1a95e6048406b70d96c109d4e8b649 (patch) | |
| tree | 6d1fe5b7e6c98ab9f55f070b6dc1879c60cb32c7 /charf.c | |
| parent | 81708b134cc26655ddd2e3b4ef2b42ff64d8e9d1 (diff) | |
typo
Diffstat (limited to 'charf.c')
| -rw-r--r-- | charf.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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]; |
