diff options
author | Calvin Morrison <mutantturkey@gmail.com> | 2014-03-04 14:01:24 -0500 |
---|---|---|
committer | Calvin Morrison <mutantturkey@gmail.com> | 2014-03-04 14:01:24 -0500 |
commit | 2aa4254c4368fd85ca6d37e17c786eb295a79c5a (patch) | |
tree | 3cc119a83e4b0e46d7adb31622988006f6aaba4e /src/c/quikr_functions.c | |
parent | 50f42a6697a6dedbfd4f0737568e816077010253 (diff) |
fix warnings
Diffstat (limited to 'src/c/quikr_functions.c')
-rw-r--r-- | src/c/quikr_functions.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/c/quikr_functions.c b/src/c/quikr_functions.c index fa97440..178c1d1 100644 --- a/src/c/quikr_functions.c +++ b/src/c/quikr_functions.c @@ -93,7 +93,7 @@ struct matrix *load_sensing_matrix(const char *filename, unsigned int target_kme double *matrix = NULL; - int kmer = 0; + unsigned int kmer = 0; unsigned long long i = 0; unsigned long long *row = NULL; @@ -142,6 +142,7 @@ struct matrix *load_sensing_matrix(const char *filename, unsigned int target_kme fprintf(stderr, "Error parsing sensing matrix, kmer is zero\n"); exit(EXIT_FAILURE); } + if(kmer != target_kmer) { fprintf(stderr, "The sensing_matrix was trained with a different kmer than your requested kmer\n"); exit(EXIT_FAILURE); |