Skip to content
Snippets Groups Projects
Commit e9364c10 authored by MichelJuillard's avatar MichelJuillard
Browse files

add it_ input parameter back + distinguish params_derivs functions

parent 04a23837
Branches
No related tags found
1 merge request!70remove module in Julia files
Pipeline #7758 passed
......@@ -962,7 +962,7 @@ DynamicModel::writeParamsDerivativesFile(const string &basename) const
paramsDerivsFile << "# NB: this file was automatically generated by Dynare" << endl
<< "# from " << basename << ".mod" << endl
<< "#" << endl
<< "function params_derivs(y, x, paramssteady_state, "
<< "function dynamic_params_derivs(y, x, paramssteady_state, it_,"
<< "ss_param_deriv, ss_param_2nd_deriv)" << endl
<< "@inbounds begin" << endl
<< tt_output.str()
......
......@@ -297,7 +297,7 @@ StaticModel::writeParamsDerivativesFile(const string &basename) const
paramsDerivsFile << "# NB: this file was automatically generated by Dynare" << endl
<< "# from " << basename << ".mod" << endl
<< "#" << endl
<< "function params_derivs(y, x, params)" << endl
<< "function static_params_derivs(y, x, params)" << endl
<< "@inbounds begin" << endl
<< tt_output.str()
<< "rp = zeros(" << equations.size() << ", "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment