aboutsummaryrefslogtreecommitdiff
path: root/src/bslmmdap.cpp
diff options
context:
space:
mode:
authorPjotr Prins2017-11-11 08:05:59 +0000
committerPjotr Prins2017-11-11 08:05:59 +0000
commitc1bbd92c621f63ae8a051d51a224dad93061108e (patch)
tree1ab35453a437605e8b85167de693565219bd9f8a /src/bslmmdap.cpp
parente97900b15ce0991e74568cd06eba218c25eab448 (diff)
downloadpangemma-c1bbd92c621f63ae8a051d51a224dad93061108e.tar.gz
Fix compiler warnings
Diffstat (limited to 'src/bslmmdap.cpp')
-rw-r--r--src/bslmmdap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bslmmdap.cpp b/src/bslmmdap.cpp
index f55ce19..e9900e3 100644
--- a/src/bslmmdap.cpp
+++ b/src/bslmmdap.cpp
@@ -152,7 +152,7 @@ void ReadFile_bf(const string &file_bf, vector<string> &vec_rs,
vector<vector<double>> mat_bf;
char *ch_ptr;
- size_t bf_size, flag_block;
+ size_t bf_size = 0, flag_block;
getline(infile, line);
@@ -687,7 +687,7 @@ void BSLMMDAP::DAP_EstimateHyper(
// clock_t time_start;
// Set up BF.
- double h, rho, sigma_a2, sigma_b2, d, s, logm, logm_save;
+ double h, rho, sigma_a2, sigma_b2, d, s, logm, logm_save = nan("");
size_t t1, t2;
size_t n_grid = wab.size(), ns_test = vec_rs.size();