diff --git a/matlab/sec2hms.m b/matlab/dynsec2hms.m similarity index 88% rename from matlab/sec2hms.m rename to matlab/dynsec2hms.m index e1c45adcf..1675434b2 100644 --- a/matlab/sec2hms.m +++ b/matlab/dynsec2hms.m @@ -1,5 +1,5 @@ -function hms = sec2hms(secs) -% SEC2HMS Converts a number of seconds into a hours-minutes-seconds string +function hms = dynsec2hms(secs) +% DYNSEC2HMS Converts a number of seconds into a hours-minutes-seconds string % Copyright (C) 2008 Dynare Team % diff --git a/preprocessor/ModFile.cc b/preprocessor/ModFile.cc index 5a9699e01..d90a704d7 100644 --- a/preprocessor/ModFile.cc +++ b/preprocessor/ModFile.cc @@ -195,6 +195,6 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all) const mOutputFile << "save('" << basename << "_results.mat', 'oo_');" << endl; mOutputFile << "diary off" << endl; - mOutputFile << endl << "disp(['Total computing time : ' sec2hms(toc) ]);" << endl; + mOutputFile << endl << "disp(['Total computing time : ' dynsec2hms(toc) ]);" << endl; mOutputFile.close(); }