diff --git a/src/DynamicModel.hh b/src/DynamicModel.hh index 2ea1598d47867edcf711600f8c4f3a543b597645..d857a9eb92d2bb61ee036164ef83194238ccfeaf 100644 --- a/src/DynamicModel.hh +++ b/src/DynamicModel.hh @@ -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() diff --git a/src/StaticModel.hh b/src/StaticModel.hh index 52fdc6384433b0a9eee08b1518481ad5621f9b17..002ffff2557cefd2e53244c0ae873eef1e07e715 100644 --- a/src/StaticModel.hh +++ b/src/StaticModel.hh @@ -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() << ", "