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
Mark Song
dynare
Commits
f676893f
Commit
f676893f
authored
Jan 26, 2018
by
Stéphane Adjemian
Browse files
Set M_.set_auxiliary_variables.
Fixes the bug introduced in
bbdde462
.
parent
be55cee0
Changes
1
Hide whitespace changes
Inline
Side-by-side
preprocessor/ModFile.cc
View file @
f676893f
...
...
@@ -828,7 +828,8 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool clear_glo
mOutputFile
<<
"M_.orig_eq_nbr = "
<<
mod_file_struct
.
orig_eq_nbr
<<
";"
<<
endl
<<
"M_.eq_nbr = "
<<
dynamic_model
.
equation_number
()
<<
";"
<<
endl
<<
"M_.ramsey_eq_nbr = "
<<
mod_file_struct
.
ramsey_eq_nbr
<<
";"
<<
endl
;
<<
"M_.ramsey_eq_nbr = "
<<
mod_file_struct
.
ramsey_eq_nbr
<<
";"
<<
endl
<<
"M_.set_auxiliary_variables = exist(['./' M_.fname '_set_auxiliary_variables.m'], 'file') == 2;"
<<
endl
;
if
(
dynamic_model
.
equation_number
()
>
0
)
{
...
...
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