Correct typos in error message and header

time-shift
Johannes Pfeifer 2016-12-01 17:36:48 +01:00
parent 95076d5c72
commit f5fb81a758
2 changed files with 10 additions and 9 deletions

View File

@ -1,15 +1,16 @@
function [dr,info,M_,options_,oo_] = dr_block(dr,task,M_,options_,oo_,varargin) function [dr,info,M_,options_,oo_] = dr_block(dr,task,M_,options_,oo_,varargin)
% function [dr,info,M_,options_,oo_] = dr_block(dr,task,M_,options_,oo_) % function [dr,info,M_,options_,oo_] = dr_block(dr,task,M_,options_,oo_,varargin)
% computes the reduced form solution of a rational expectation model (first % computes the reduced form solution of a rational expectations model
% approximation of the stochastic model around the deterministic steady state). % (first order approximation of the stochastic model around the deterministic steady state).
% %
% INPUTS % INPUTS
% dr [matlab structure] Decision rules for stochastic simulations. % dr [matlab structure] Decision rules for stochastic simulations.
% task [integer] if task = 0 then dr1 computes decision rules. % task [integer] if task = 0 then dr_block computes decision rules.
% if task = 1 then dr1 computes eigenvalues. % if task = 1 then dr_block computes eigenvalues.
% M_ [matlab structure] Definition of the model. % M_ [matlab structure] Definition of the model.
% options_ [matlab structure] Global options. % options_ [matlab structure] Global options.
% oo_ [matlab structure] Results % oo_ [matlab structure] Results
% oo_ [matlab cell] Other input arguments
% %
% OUTPUTS % OUTPUTS
% dr [matlab structure] Decision rules for stochastic simulations. % dr [matlab structure] Decision rules for stochastic simulations.
@ -33,7 +34,7 @@ function [dr,info,M_,options_,oo_] = dr_block(dr,task,M_,options_,oo_,varargin)
% none. % none.
% %
% Copyright (C) 2010-2015 Dynare Team % Copyright (C) 2010-2016 Dynare Team
% %
% This file is part of Dynare. % This file is part of Dynare.
% %
@ -638,7 +639,7 @@ for i = 1:Size;
if options_.loglinear if options_.loglinear
error('log linear option is for the moment not supported in first order approximation for a block decomposed mode'); error('The loglinear option is not yet supported in first order approximation for a block decomposed model');
% k = find(dr.kstate(:,2) <= M_.maximum_endo_lag+1); % k = find(dr.kstate(:,2) <= M_.maximum_endo_lag+1);
% klag = dr.kstate(k,[1 2]); % klag = dr.kstate(k,[1 2]);
% k1 = dr.order_var; % k1 = dr.order_var;
@ -657,7 +658,7 @@ for i = 1:Size;
%exogenous deterministic variables %exogenous deterministic variables
if exo_det_nbr > 0 if exo_det_nbr > 0
error('deterministic exogenous are not yet implemented in first order approximation for a block decomposed model'); error('Deterministic exogenous variables are not yet implemented in first order approximation for a block decomposed model');
% f1 = sparse(jacobia_(:,nonzeros(M_.lead_lag_incidence(M_.maximum_endo_lag+2:end,order_var)))); % f1 = sparse(jacobia_(:,nonzeros(M_.lead_lag_incidence(M_.maximum_endo_lag+2:end,order_var))));
% f0 = sparse(jacobia_(:,nonzeros(M_.lead_lag_incidence(M_.maximum_endo_lag+1,order_var)))); % f0 = sparse(jacobia_(:,nonzeros(M_.lead_lag_incidence(M_.maximum_endo_lag+1,order_var))));
% fudet = data(i).g1_xd; % fudet = data(i).g1_xd;

View File

@ -1,5 +1,5 @@
function dyn_latex_table(M_,options_,title,LaTeXtitle,headers,labels,values,label_width,val_width,val_precis,optional_header) function dyn_latex_table(M_,options_,title,LaTeXtitle,headers,labels,values,label_width,val_width,val_precis,optional_header)
%function dyn_latex_table(M_,title,LaTeXtitle,headers,labels,values,label_width,val_width,val_precis,optional_header) %function dyn_latex_table(M_,options_,title,LaTeXtitle,headers,labels,values,label_width,val_width,val_precis,optional_header)
% Copyright (C) 2015-2016 Dynare Team % Copyright (C) 2015-2016 Dynare Team
% %