diff --git a/trick_source/sim_services/MonteCarlo/src/MonteCarlo_slave_process_run.cpp b/trick_source/sim_services/MonteCarlo/src/MonteCarlo_slave_process_run.cpp index 565ccbd6..f83599c3 100644 --- a/trick_source/sim_services/MonteCarlo/src/MonteCarlo_slave_process_run.cpp +++ b/trick_source/sim_services/MonteCarlo/src/MonteCarlo_slave_process_run.cpp @@ -110,7 +110,8 @@ int Trick::MonteCarlo::slave_process_run() { } } - std::stringstream ss_monte_input << output_dir << "/monte_input"; + std::stringstream ss_monte_input; + ss_monte_input << output_dir << "/monte_input"; FILE *fp = fopen(ss_monte_input.str().c_str(), "w"); fprintf(fp, @@ -123,9 +124,11 @@ int Trick::MonteCarlo::slave_process_run() { delete [] input; /**