Skip to content
Snippets Groups Projects
Verified Commit b3526f22 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

DynamicModel::computeRamseyPolicyFOCs(): minor improvement

parent b94b68c8
Branches
No related tags found
No related merge requests found
......@@ -2960,7 +2960,7 @@ DynamicModel::computeRamseyPolicyFOCs(const StaticModel& planner_objective,
{
// This is a derivative w.r.t. a Lagrange multiplier
neweqs_lineno.push_back(old_equations_lineno[*i]);
neweqs_tags[neweqs.size() - 1] = old_equation_tags.getTagsByEqn(*i);
neweqs_tags.emplace(neweqs.size() - 1, old_equation_tags.getTagsByEqn(*i));
new_complementarity_conditions.emplace(neweqs.size() - 1,
old_complementarity_conditions.at(*i));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment