From c1bbd92c621f63ae8a051d51a224dad93061108e Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sat, 11 Nov 2017 08:05:59 +0000 Subject: Fix compiler warnings --- src/bslmmdap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bslmmdap.cpp') 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 &vec_rs, vector> 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(); -- cgit v1.2.3