about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorPjotr Prins2025-11-27 10:47:28 +0100
committerPjotr Prins2025-11-27 10:47:28 +0100
commited2eda78e73f43eafbf25bb7b6dfbbdd41a59ae0 (patch)
treead5eb1f3b1ecdde99223aba9d430b0626dc7836f /src
parent6abb0ce062f27e15a4168fca80939bc7600d781d (diff)
downloadpangemma-ed2eda78e73f43eafbf25bb7b6dfbbdd41a59ae0.tar.gz
Get rid of compiler warning for bin
Diffstat (limited to 'src')
-rw-r--r--src/vc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vc.cpp b/src/vc.cpp
index 22aaea9..970c556 100644
--- a/src/vc.cpp
+++ b/src/vc.cpp
@@ -1021,7 +1021,7 @@ void ReadFile_cor(const string &file_cor, const vector<string> &vec_rs,
 
   string rs1, rs2;
   double d1, d2, d3, cor, var1, var2;
-  size_t n_nb, nsamp1, nsamp2, n12, bin_size = 10, bin;
+  size_t n_nb, nsamp1, nsamp2, n12, bin_size = 10, bin = 0;
 
   vector<vector<double>> mat_S, mat_Svar, mat_tmp;
   vector<double> vec_qvar, vec_tmp;