From 5778add74142ced546e1e170ed754e1f6dac9fea Mon Sep 17 00:00:00 2001 From: "John M. Penn" Date: Tue, 4 Aug 2015 16:26:28 -0500 Subject: [PATCH] Ref #96 : Fix to many args warning. --- trick_source/sim_services/MonteCarlo/MonteCarlo_funcs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trick_source/sim_services/MonteCarlo/MonteCarlo_funcs.cpp b/trick_source/sim_services/MonteCarlo/MonteCarlo_funcs.cpp index 19ef1fab..bd5adacb 100644 --- a/trick_source/sim_services/MonteCarlo/MonteCarlo_funcs.cpp +++ b/trick_source/sim_services/MonteCarlo/MonteCarlo_funcs.cpp @@ -438,7 +438,7 @@ int Trick::MonteCarlo::prepare_run(MonteRun *curr_run) { fprintf(run_data_file, "%05u ", curr_run->id); for (std::vector::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()); }