about summary refs log tree commit diff
path: root/src/param.h
diff options
context:
space:
mode:
authorPjotr Prins2017-10-06 11:51:18 +0000
committerPjotr Prins2017-10-13 15:27:24 +0000
commit63b6796a16ed2c82bb8b08eb4685bf8d56a9d360 (patch)
treebe1659d5f3770364d6a0773d9913e25f13d74485 /src/param.h
parentec8a139cb07b46bd0b9e5de2ea8db1f7f335a56c (diff)
downloadpangemma-63b6796a16ed2c82bb8b08eb4685bf8d56a9d360.tar.gz
Consolidate into ProgressBar into one function and related updates
Diffstat (limited to 'src/param.h')
-rw-r--r--src/param.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/param.h b/src/param.h
index 3976440..4b473c0 100644
--- a/src/param.h
+++ b/src/param.h
@@ -27,6 +27,7 @@
 #include <vector>
 
 #define K_BATCH_SIZE 10000 // #snps used for batched K
+#define DEFAULT_PACE 1000
 
 using namespace std;
 
@@ -124,7 +125,7 @@ public:
   uint a_mode; // Analysis mode, 1/2/3/4 for Frequentist tests
   int k_mode; // Kinship read mode: 1: n by n matrix, 2: id/id/k_value;
   vector<size_t> p_column; // Which phenotype column needs analysis.
-  size_t d_pace;           // Display pace
+  size_t d_pace = DEFAULT_PACE;   // Display pace (-pace switch)
 
   string file_bfile, file_mbfile;
   string file_geno, file_mgeno;