From 2801ed9b4b1eecfe7ac08f79ba4e8d9a983c2909 Mon Sep 17 00:00:00 2001 From: Heng Li Date: Thu, 12 Oct 2017 14:16:05 -0400 Subject: [PATCH] r507: -K not working as is intended (#36) --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 9996e54..3951f15 100644 --- a/main.c +++ b/main.c @@ -6,7 +6,7 @@ #include "mmpriv.h" #include "getopt.h" -#define MM_VERSION "2.2-r506-dirty" +#define MM_VERSION "2.2-r507-dirty" #ifdef __linux__ #include @@ -115,7 +115,7 @@ int main(int argc, char *argv[]) else if (c == 'z') opt.zdrop = atoi(optarg); else if (c == 's') opt.min_dp_max = atoi(optarg); else if (c == 'I') ipt.batch_size = mm_parse_num(optarg); - else if (c == 'K') ipt.mini_batch_size = (int)mm_parse_num(optarg); + else if (c == 'K') opt.mini_batch_size = (int)mm_parse_num(optarg); else if (c == 'R') rg = optarg; else if (c == 'h') fp_help = stdout; else if (c == 0 && long_idx == 0) ipt.bucket_bits = atoi(optarg); // --bucket-bits