Skip to content
Snippets Groups Projects
Verified Commit c38f9aa7 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Cosmetic change.

parent 27a8b3b7
No related branches found
No related tags found
No related merge requests found
......@@ -909,8 +909,10 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool clear_glo
else if (clear_global)
mOutputFile << "clear M_ options_ oo_ estim_params_ bayestopt_ dataset_ dataset_info estimation_info ys0_ ex0_;" << endl;
mOutputFile << "tic0 = tic;" << endl
<< "% Define global variables." << endl
if (!notime)
mOutputFile << "tic0 = tic;" << endl;
mOutputFile << "% Define global variables." << endl
<< "global M_ options_ oo_ estim_params_ bayestopt_ dataset_ dataset_info estimation_info ys0_ ex0_" << endl
<< "options_ = [];" << endl
<< "M_.fname = '" << basename << "';" << endl
......@@ -1098,11 +1100,11 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool clear_glo
<< " save('" << basename << "_results.mat', 'oo_recursive_', '-append');" << endl << "end" << endl;
config_file.writeEndParallel(mOutputFile);
if (!notime)
{
mOutputFile << endl << endl
<< "disp(['Total computing time : ' dynsec2hms(toc(tic0)) ]);" << endl;
}
if (!no_warn)
{
if (warnings.countWarnings() > 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment