Commit 524c0635 authored by Lukas Weber's avatar Lukas Weber

fix formats with wrong amount of arguments

parent 4213b4ac
...@@ -83,7 +83,7 @@ void evalable::jackknife(const results &res, observable_result &obs_res) const { ...@@ -83,7 +83,7 @@ void evalable::jackknife(const results &res, observable_result &obs_res) const {
if(jacked_eval_mean.size() != jacked_eval.size()) { if(jacked_eval_mean.size() != jacked_eval.size()) {
throw std::runtime_error( throw std::runtime_error(
fmt::format("evalable '{}': evalables must not change their dimensions depending " fmt::format("evalable '{}': evalables must not change their dimensions depending "
"on the input")); "on the input", name_));
} }
for(size_t i = 0; i < jacked_eval.size(); i++) { for(size_t i = 0; i < jacked_eval.size(); i++) {
......
...@@ -177,7 +177,7 @@ void runner_slave::start() { ...@@ -177,7 +177,7 @@ void runner_slave::start() {
if(time_is_up()) { if(time_is_up()) {
what_is_next(S_TIMEUP); what_is_next(S_TIMEUP);
job_.log(fmt::format("rank {} exits: time up")); job_.log(fmt::format("rank {} exits: time up", rank_));
break; break;
} }
......
...@@ -204,7 +204,7 @@ void runner_pt_master::construct_pt_chains() { ...@@ -204,7 +204,7 @@ void runner_pt_master::construct_pt_chains() {
int sweeps_per_global_update = task.get<int>("pt_sweeps_per_global_update"); int sweeps_per_global_update = task.get<int>("pt_sweeps_per_global_update");
int sweeps = job_.read_dump_progress(i) / sweeps_per_global_update; int sweeps = job_.read_dump_progress(i) / sweeps_per_global_update;
if(chain.sweeps >= 0 && sweeps != chain.sweeps) { if(chain.sweeps >= 0 && sweeps != chain.sweeps) {
throw std::runtime_error{fmt::format(pt_sweep_error, "sweeps", chain.sweeps != sweeps)}; throw std::runtime_error{fmt::format(pt_sweep_error, "sweeps", chain.sweeps, sweeps)};
} }
chain.sweeps = sweeps; chain.sweeps = sweeps;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment