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
892b565f
Commit
892b565f
authored
Mar 14, 2014
by
Johannes Pfeifer
Browse files
Fix comments in header of dynamic and static files
Columns and rows were confused
parent
ca7fe602
Changes
2
Hide whitespace changes
Inline
Side-by-side
DynamicModel.cc
View file @
892b565f
...
...
@@ -1525,14 +1525,14 @@ DynamicModel::writeDynamicMFile(const string &dynamic_basename) const
<<
"% residual [M_.endo_nbr by 1] double vector of residuals of the dynamic model equations in order of "
<<
endl
<<
"% declaration of the equations"
<<
endl
<<
"% g1 [M_.endo_nbr by #dynamic variables] double Jacobian matrix of the dynamic model equations;"
<<
endl
<<
"%
column
s: equations in order of declaration"
<<
endl
<<
"%
row
s: variables in order stored in M_.lead_lag_incidence"
<<
endl
<<
"%
row
s: equations in order of declaration"
<<
endl
<<
"%
column
s: variables in order stored in M_.lead_lag_incidence"
<<
endl
<<
"% g2 [M_.endo_nbr by (#dynamic variables)^2] double Hessian matrix of the dynamic model equations;"
<<
endl
<<
"%
column
s: equations in order of declaration"
<<
endl
<<
"%
row
s: variables in order stored in M_.lead_lag_incidence"
<<
endl
<<
"%
row
s: equations in order of declaration"
<<
endl
<<
"%
column
s: variables in order stored in M_.lead_lag_incidence"
<<
endl
<<
"% g3 [M_.endo_nbr by (#dynamic variables)^3] double Third order derivative matrix of the dynamic model equations;"
<<
endl
<<
"%
column
s: equations in order of declaration"
<<
endl
<<
"%
row
s: variables in order stored in M_.lead_lag_incidence"
<<
endl
<<
"%
row
s: equations in order of declaration"
<<
endl
<<
"%
column
s: variables in order stored in M_.lead_lag_incidence"
<<
endl
<<
"%"
<<
endl
<<
"%"
<<
endl
<<
"% Warning : this file is generated automatically by Dynare"
<<
endl
...
...
StaticModel.cc
View file @
892b565f
...
...
@@ -1161,11 +1161,11 @@ StaticModel::writeStaticMFile(const string &func_name) const
<<
"% residual [M_.endo_nbr by 1] double vector of residuals of the static model equations "
<<
endl
<<
"% in order of declaration of the equations"
<<
endl
<<
"% g1 [M_.endo_nbr by M_.endo_nbr] double Jacobian matrix of the static model equations;"
<<
endl
<<
"% columns:
equations in order of
declaration"
<<
endl
<<
"% rows:
variables in
declaration
order
"
<<
endl
<<
"%
columns:
variables in
declaration
order
"
<<
endl
<<
"%
rows:
equations in order of
declaration"
<<
endl
<<
"% g2 [M_.endo_nbr by (M_.endo_nbr)^2] double Hessian matrix of the static model equations;"
<<
endl
<<
"% columns:
equations in order of
declaration"
<<
endl
<<
"% rows:
variables in
declaration
order
"
<<
endl
<<
"% columns:
variables in
declaration
order
"
<<
endl
<<
"% rows:
equations in order of
declaration"
<<
endl
<<
"% g3 [M_.endo_nbr by (M_.endo_nbr)^3] double Third derivatives matrix of the static model equations;"
<<
endl
<<
"% columns: variables in declaration order"
<<
endl
<<
"% rows: equations in order of declaration"
<<
endl
...
...
Write
Preview
Markdown
is supported
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