adding using Utils to dynamic & static files

time-shift
Houtan Bastani 2015-08-18 15:45:23 +02:00
parent 2e7e9bc8f0
commit 6ac346606b
2 changed files with 2 additions and 0 deletions

View File

@ -1576,6 +1576,7 @@ DynamicModel::writeDynamicJuliaFile(const string &basename) const
}
output << "module " << basename << "Dynamic" << endl << endl
<< "using Utils" << endl << endl
<< "export getDynamicFunction" << endl << endl
<< "function getDynamicFunction()" << endl
<< " dynamic!" << endl

View File

@ -1589,6 +1589,7 @@ StaticModel::writeStaticJuliaFile(const string &basename) const
}
output << "module " << basename << "Static" << endl << endl
<< "using Utils" << endl << endl
<< "export getStaticFunction" << endl << endl
<< "function getStaticFunction()" << endl
<< " static!" << endl