diff --git a/ModFile.cc b/ModFile.cc
index cb1b1cabcc30e199221cd506040a15f0f107ca53..b09b789a27f421b754aa355eea9c57053941bb8f 100644
--- a/ModFile.cc
+++ b/ModFile.cc
@@ -194,6 +194,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(round(toc)) ]);" << endl;
+  mOutputFile << endl << "disp(['Total computing time : ' sec2hms(toc) ]);" << endl;
   mOutputFile.close();
 }