Commit 824c5764 authored by sebastien's avatar sebastien
Browse files

trunk: only execute the 'rmpath basename' in Sparse mode

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2294 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 4cfcc6f5
......@@ -219,7 +219,9 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all) const
mOutputFile << "save('" << basename << "_results.mat', 'oo_', 'M_');" << endl;
mOutputFile << "diary off" << endl;
mOutputFile << "rmpath " << basename << ";\n";
if (model_tree.mode == eSparseMode)
mOutputFile << "rmpath " << basename << ";\n";
mOutputFile << endl << "disp(['Total computing time : ' dynsec2hms(toc) ]);" << endl;
mOutputFile.close();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment