Remove unused function

issue#70
Sébastien Villemot 2020-11-10 18:02:06 +01:00
parent 9bca65c7e5
commit 1e419a48e4
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
2 changed files with 0 additions and 12 deletions

View File

@ -4843,14 +4843,6 @@ DynamicModel::computeRamseyPolicyFOCs(const StaticModel &static_model)
addEquation(neweqs[i], neweqs_lineno[i], neweqs_tags[i]);
}
void
DynamicModel::toNonlinearPart(DynamicModel &non_linear_equations_dynamic_model) const
{
// Convert model local variables (need to be done first)
for (const auto &it : local_variables_table)
non_linear_equations_dynamic_model.AddLocalVariable(it.first, it.second);
}
bool
DynamicModel::ParamUsedWithLeadLag() const
{

View File

@ -393,10 +393,6 @@ public:
/*! Used by the perfect_foresight_problem MEX */
void writeDynamicJacobianNonZeroElts(const string &basename) const;
//! Converts to nonlinear model (only the equations)
/*! It assumes that the nonlinear model given in argument has just been allocated */
void toNonlinearPart(DynamicModel &non_linear_equations_dynamic_model) const;
//! Creates mapping for variables and equations they are present in
void createVariableMapping(int orig_eq_nbr);