summaryrefslogtreecommitdiff
path: root/src/c/quikr_functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/quikr_functions.c')
-rw-r--r--src/c/quikr_functions.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/c/quikr_functions.c b/src/c/quikr_functions.c
index 6a82320..1f188a9 100644
--- a/src/c/quikr_functions.c
+++ b/src/c/quikr_functions.c
@@ -44,8 +44,8 @@ void normalize_matrix(double *matrix, long height, long width) {
double *load_count_matrix(char *filename, long width, int kmer) {
- double *count_matrix = malloc((width)*sizeof(double));
- char count_command[512];
+ double *count_matrix = malloc(width*sizeof(double));
+ char count_command[1024];
long x = 0;
char *line = NULL;
size_t len = 0;
@@ -115,6 +115,7 @@ double *load_sensing_matrix(char *filename, long height, long width) {
return sensing_matrix;
}
+
char **load_headers(char *filename, long sequences) {
char command[512];
char *line= NULL;