Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dynare
preprocessor
Commits
80c45ee1
Commit
80c45ee1
authored
Aug 22, 2018
by
Houtan Bastani
Browse files
fix bug with max_lag of var model
parent
0af91c26
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ModFile.cc
View file @
80c45ee1
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment