fix bug with max_lag of var model

issue#70
Houtan Bastani 2018-08-22 15:59:12 +02:00
parent 0af91c26f8
commit 80c45ee116
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ ModFile::transformPass(bool nostrict, bool stochastic, bool compute_xrefs, const
}
else if (var_model_table.isExistingVarModelName(aux_model_name))
{
max_lag = var_model_table.getMaxLag(aux_model_name) + 1;
max_lag = var_model_table.getMaxLag(aux_model_name);
lhs = var_model_table.getLhs(aux_model_name);
nonstationary = var_model_table.getNonstationary(aux_model_name);
}