Ref #96 : Fix to many args warning.

This commit is contained in:
John M. Penn 2015-08-04 16:26:28 -05:00
parent 36cf0a72db
commit 5778add741

View File

@ -438,7 +438,7 @@ int Trick::MonteCarlo::prepare_run(MonteRun *curr_run) {
fprintf(run_data_file, "%05u ", curr_run->id);
for (std::vector<std::string>::size_type i = 0; i < variables.size(); ++i) {
if (i>0) {
fprintf(run_data_file, " ", variables[i]->value.c_str());
fprintf(run_data_file, " ");
}
fprintf(run_data_file, "%s", variables[i]->value.c_str());
}