Commit 7c644603 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Preprocessor: delete _steadystate2.m file from previous run if exists

Closes: #224
parent 1f8e4a51
......@@ -501,6 +501,9 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool console,
string statfile = basename + "_static.m";
unlink(statfile.c_str());
string steadystatefile = basename + "_steadystate2.m";
unlink(steadystatefile.c_str());
if (!use_dll)
{
mOutputFile << "erase_compiled_function('" + basename + "_static');" << endl;
......
Markdown is supported
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