diff --git a/ModFile.cc b/ModFile.cc index e59b78f7bf567171ef16125c5924c8bd21af8272..709ea4ec50b823b56ece347df8b7c22c9cb02828 100644 --- a/ModFile.cc +++ b/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();