diff --git a/preprocessor/ModFile.cc b/preprocessor/ModFile.cc index e59b78f7b..709ea4ec5 100644 --- a/preprocessor/ModFile.cc +++ b/preprocessor/ModFile.cc @@ -617,8 +617,9 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool console, config_file.writeEndParallel(mOutputFile); - mOutputFile << "diary off" << endl - << endl << "disp(['Total computing time : ' dynsec2hms(toc) ]);" << endl; + mOutputFile << endl << endl + << "disp(['Total computing time : ' dynsec2hms(toc) ]);" << endl + << "diary off" << endl; mOutputFile.close();