Commit 0657c715 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Preprocessor: in the parameter derivatives file, add the global "oo_" when the...

Preprocessor: in the parameter derivatives file, add the global "oo_" when the STEADY_STATE operator is used
parent c38f4893
......@@ -2758,6 +2758,9 @@ DynamicModel::writeParamsDerivativesFile(const string &basename) const
<< "% Warning : this file is generated automatically by Dynare" << endl
<< "% from model file (.mod)" << endl << endl;
if (isUnaryOpUsed(oSteadyState))
paramsDerivsFile << "global oo_;" << endl << endl;
writeTemporaryTerms(params_derivs_temporary_terms, paramsDerivsFile, oMatlabDynamicModel);
// Write parameter derivative
......
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