Commit 796af7ee authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Preprocessor: added model local variable definitions to parameter derivative file

parent 688366d6
......@@ -3340,6 +3340,8 @@ DynamicModel::writeParamsDerivativesFile(const string &basename) const
if (isUnaryOpUsed(oSteadyState))
paramsDerivsFile << "global oo_;" << endl << endl;
writeModelLocalVariables(paramsDerivsFile, oMatlabDynamicModel);
writeTemporaryTerms(params_derivs_temporary_terms, paramsDerivsFile, oMatlabDynamicModel);
// Write parameter derivative
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