Skip to content
Snippets Groups Projects
Commit ac122cfd authored by Houtan Bastani's avatar Houtan Bastani
Browse files

write_latex_definitions: use M_ as global

(cherry picked from commit ea888fe6)
parent 28853b05
Branches
Tags
No related merge requests found
function write_latex_definitions(M_) function write_latex_definitions
%function write_latex_definitions %function write_latex_definitions
% Writes a latex file containing the variable names, latex names, and % Writes a latex file containing the variable names, latex names, and
% tags/comments % tags/comments
% %
% INPUTS % INPUTS
% M_ % none
% %
% OUTPUTS % OUTPUTS
% none % none
...@@ -29,6 +29,8 @@ function write_latex_definitions(M_) ...@@ -29,6 +29,8 @@ function write_latex_definitions(M_)
% You should have received a copy of the GNU General Public License % You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>. % along with Dynare. If not, see <http://www.gnu.org/licenses/>.
global M_;
if M_.exo_det_nbr == 0 if M_.exo_det_nbr == 0
tables = {'Endogenous', 'Exogenous', 'Parameters'}; tables = {'Endogenous', 'Exogenous', 'Parameters'};
M_var_root = {'M_.endo', 'M_.exo', 'M_.param'}; M_var_root = {'M_.endo', 'M_.exo', 'M_.param'};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment