Commit 1ae72992 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

fix bug when var_expectation_model uses trend_component_model as auxiliary model

parent d5d6e8be
......@@ -524,7 +524,7 @@ ModFile::transformPass(bool nostrict, bool stochastic, bool compute_xrefs, const
else if (trend_component_model_table.isExistingTrendComponentModelName(vems->aux_model_name))
max_lag = trend_component_model_table.getMaxLag(vems->aux_model_name);
max_lag = trend_component_model_table.getMaxLag(vems->aux_model_name) + 1;
lhs = trend_component_model_table.getLhs(vems->aux_model_name);
Supports Markdown
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