Commit 117996c8 authored by MichelJuillard's avatar MichelJuillard
Browse files

code simplification after commit 9425b363

parent 130d9fca
......@@ -4019,10 +4019,7 @@ DynamicModel::substituteLeadLagInternal(aux_var_t type, bool deterministic_model
// - expectation (entered before this function is called)
// - lead variables from lower lead to higher lead (need to be listed in reverse order)
// - lag variables from lower lag to higher lag
if ((type == avEndoLead) || (type == avExoLead))
copy(neweqs.begin(), neweqs.end(), back_inserter(aux_equations));
else
copy(neweqs.begin(), neweqs.end(), back_inserter(aux_equations));
copy(neweqs.begin(), neweqs.end(), back_inserter(aux_equations));
if (neweqs.size() > 0)
{
......
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