aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2014-03-05 13:32:22 -0500
committerCalvin Morrison <mutantturkey@gmail.com>2014-03-05 13:32:22 -0500
commit6e0e9fc80dbd23f65b3839f7eaecd9cf9d2b186c (patch)
tree23c664e1a30202017fbec28a433aca7f6d5057dc
parent36d0eb2b92c9d35adb49339ca8f9e634e8bcec5e (diff)
don't add one, do sequences on a seperate printf
-rw-r--r--src/c/multifasta_to_otu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/c/multifasta_to_otu.c b/src/c/multifasta_to_otu.c
index a18ca91..1abe787 100644
--- a/src/c/multifasta_to_otu.c
+++ b/src/c/multifasta_to_otu.c
@@ -226,7 +226,7 @@ int main(int argc, char **argv) {
// 4 "ACGT" ^ Kmer gives us the size of output rows
- width = pow(4, kmer) + 1;
+ width = pow(4, kmer);
struct matrix *sensing_matrix = load_sensing_matrix(sensing_matrix_filename, kmer);
double *sensing_matrix_ptr = sensing_matrix->matrix;
@@ -234,7 +234,8 @@ int main(int argc, char **argv) {
if(verbose) {
printf("directory count: %llu\n", dir_count);
- printf("width: %llu\nsequences %llu\n", width, sequences);
+ printf("width: %llu\n", width);
+ printf("sequences: %llu\n", sequences);
}
unsigned long long *solutions = malloc(dir_count * sequences * sizeof(unsigned long long));