@@ -297,7 +297,7 @@ void EnsembleSolver::update_multimodal_components(const double mm_alpha) {
297297 }
298298 performance_log->log_event (" getting phi vectors for all weights" );
299299 map<string,map<string,double >> weight_phi_map = ph.get_meas_phi_weight_ensemble (oe,weights);
300- // int verbose_level = pest_scenario.get_pestpp_options ().get_ies_verbose_level();
300+ // int verbose_level = pest_scenario.get_loading par ensemble from binary filepestpp_options ().get_ies_verbose_level();
301301 if (num_threads > 1 )
302302 {
303303 performance_log->log_event (" starting multithreaded MM neighbor calcs" );
@@ -321,7 +321,7 @@ void EnsembleSolver::update_multimodal_components(const double mm_alpha) {
321321 exception_ptrs.push_back (exception_ptr ());
322322 }
323323 for (int i = 0 ; i < num_threads; i++) {
324- threads.push_back (thread (mm_neighbor_thread_function, i, verbose_level, mm_alpha, weight_phi_map,preal_names,
324+ threads.push_back (thread (mm_neighbor_thread_function, i, verbose_level, mm_alpha, weight_phi_map,preal_names,
325325 oreal_names, parcov_inv, real_map, std::ref (*ut_ptr), std::ref (exception_ptrs[i])));
326326 }
327327
@@ -1101,6 +1101,7 @@ void EnsembleSolver::solve(int num_threads, double cur_lam, bool use_glm_form, P
11011101 {
11021102 // worker.work(0, iter, cur_lam, use_glm_form, act_par_names, act_obs_names);
11031103 ut_ptr->work (0 , iter, cur_lam, use_glm_form, act_par_names, act_obs_names);
1104+ delete ut_ptr;
11041105 }
11051106 else
11061107 {
@@ -8087,7 +8088,7 @@ void EnsembleMethod::message(int level, const string& _message, string extra, bo
80878088 stringstream ss;
80888089 ss << _message << " " << extra;
80898090 string s = ss.str ();
8090- message (level, s, echo);
8091+ message (level, s, vector<string>(), echo);
80918092}
80928093
80938094void EnsembleMethod::message (int level, const string& _message, int extra)
@@ -8205,12 +8206,12 @@ bool EnsembleMethod::initialize_pe(Covariance& cov)
82058206 }
82068207 catch (const exception& e)
82078208 {
8208- ss << " error processing par jcb : " << e.what ();
8209+ ss << " error processing par binary file : " << e.what ();
82098210 throw_em_error (ss.str ());
82108211 }
82118212 catch (...)
82128213 {
8213- throw_em_error (string (" error processing par jcb " ));
8214+ throw_em_error (string (" error processing par binary file " ));
82148215 }
82158216 }
82168217 else
0 commit comments