From 3fada757d6658e60aa18c8a0db4d7269b516e1b5 Mon Sep 17 00:00:00 2001
From: Johannes Pfeifer <jpfeifer@gmx.de>
Date: Tue, 14 Jun 2016 18:33:22 +0200
Subject: [PATCH] Correct comment in _dynamic files that misstated columns of
 derivative matrices

---
 DynamicModel.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/DynamicModel.cc b/DynamicModel.cc
index 20f8eb2c..cf57bda7 100644
--- a/DynamicModel.cc
+++ b/DynamicModel.cc
@@ -1546,13 +1546,13 @@ DynamicModel::writeDynamicMFile(const string &dynamic_basename) const
 					<< "%                                          Dynare may prepend auxiliary equations, see M_.aux_vars" << endl
                     << "%   g1        [M_.endo_nbr by #dynamic variables] double    Jacobian matrix of the dynamic model equations;" << endl
                     << "%                                                           rows: equations in order of declaration" << endl
-                    << "%                                                           columns: variables in order stored in M_.lead_lag_incidence" << endl
+                    << "%                                                           columns: variables in order stored in M_.lead_lag_incidence followed by the ones in M_.exo_names" << endl
                     << "%   g2        [M_.endo_nbr by (#dynamic variables)^2] double   Hessian matrix of the dynamic model equations;" << endl
                     << "%                                                              rows: equations in order of declaration" << endl
-                    << "%                                                              columns: variables in order stored in M_.lead_lag_incidence" << endl
+                    << "%                                                              columns: variables in order stored in M_.lead_lag_incidence followed by the ones in M_.exo_names" << endl
                     << "%   g3        [M_.endo_nbr by (#dynamic variables)^3] double   Third order derivative matrix of the dynamic model equations;" << endl
                     << "%                                                              rows: equations in order of declaration" << endl
-                    << "%                                                              columns: variables in order stored in M_.lead_lag_incidence" << endl
+                    << "%                                                              columns: variables in order stored in M_.lead_lag_incidence followed by the ones in M_.exo_names" << endl
                     << "%" << endl
                     << "%" << endl                    
                     << "% Warning : this file is generated automatically by Dynare" << endl
-- 
GitLab