diff --git a/src/ModFile.cc b/src/ModFile.cc index 4b5814bf16fbc3f54b05295ace3e8e3b76e8e1a3..123a17650f380420949392fcdbc74e24a9be7ac6 100644 --- a/src/ModFile.cc +++ b/src/ModFile.cc @@ -1093,7 +1093,8 @@ ModFile::writeMOutput(const string &basename, bool clear_all, bool clear_global, if (!notime) mOutputFile << endl << endl - << "disp(['Total computing time : ' dynsec2hms(toc(tic0)) ]);" << endl; + << "oo_.time = toc(tic0);" << endl + << "disp(['Total computing time : ' dynsec2hms(oo_.time) ]);" << endl; if (!no_warn) {