Aufgrund einer Wartung wird GitLab am 28.09. zwischen 10:00 und 11:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 28.09. between 10:00 and 11:00 am.

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 {
if(jacked_eval_mean.size() != jacked_eval.size()) {
throw std::runtime_error(
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++) {
......
......@@ -177,7 +177,7 @@ void runner_slave::start() {
if(time_is_up()) {
what_is_next(S_TIMEUP);
job_.log(fmt::format("rank {} exits: time up"));
job_.log(fmt::format("rank {} exits: time up", rank_));
break;
}
......
......@@ -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 = job_.read_dump_progress(i) / sweeps_per_global_update;
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;
}
......
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