Remove useless semicolons
Detected and automatically fixed by MATLAB Code Analyzer app.covariance-quadratic-approximation
parent
162ca815bc
commit
458926b17b
|
@ -151,7 +151,7 @@ Comment: The original author gave authorization to change
|
|||
|
||||
Files: matlab/+pruned_SS/prodmom.m matlab/+pruned_SS/bivmom.m
|
||||
Copyright: 2008-2015 Raymond Kan <kan@chass.utoronto.ca>
|
||||
2019-2020 Dynare Team
|
||||
2019-2023 Dynare Team
|
||||
License: GPL-3+
|
||||
Comment: The author gave authorization to redistribute
|
||||
these functions under GPL-3+ with Dynare and would
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
% Multivariate Analysis, 2008, vol. 99, issue 3, pages 542-554.
|
||||
% =========================================================================
|
||||
% Copyright © 2008-2015 Raymond Kan <kan@chass.utoronto.ca>
|
||||
% Copyright © 2019-2020 Dynare Team
|
||||
% Copyright © 2019-2023 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
@ -38,7 +38,7 @@
|
|||
% You should have received a copy of the GNU General Public License
|
||||
% along with Dynare. If not, see <https://www.gnu.org/licenses/>.
|
||||
% =========================================================================
|
||||
function y = prodmom(V,ii,nu);
|
||||
function y = prodmom(V,ii,nu)
|
||||
if nargin<3
|
||||
nu = ones(size(ii));
|
||||
end
|
||||
|
@ -104,4 +104,4 @@ for i=1:fix(prod(nu+1)/2)
|
|||
end
|
||||
end
|
||||
end
|
||||
y = y/prod([1:s2]);
|
||||
y = y/prod([1:s2]);
|
||||
|
|
|
@ -48,7 +48,7 @@ function [H,G,retcode]=discretionary_policy_engine(AAlag,AA0,AAlead,BB,bigw,inst
|
|||
% Dennis, Richard (2007): Optimal policy in rational expectations models: new solution algorithms,
|
||||
% Macroeconomic Dynamics, 11, 3155.
|
||||
|
||||
% Copyright © 2007-2018 Dynare Team
|
||||
% Copyright © 2007-2023 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
@ -189,7 +189,7 @@ function [rcode,NQ]=CheckConvergence(Q,iter,MaxIter,crit)
|
|||
NQ=max(max(abs(Q)));% norm(Q); seems too costly
|
||||
if isnan(NQ)
|
||||
rcode=3;
|
||||
elseif iter>MaxIter;
|
||||
elseif iter>MaxIter
|
||||
rcode=2;
|
||||
elseif NQ<crit
|
||||
rcode=1;
|
||||
|
|
|
@ -888,7 +888,7 @@ else
|
|||
% in case of mixed surprise and perfect foresight on the
|
||||
% endogenous path, at each date all the exogenous paths have to be
|
||||
% stored. The paths are stacked in exo.
|
||||
for time = time_index_constraint;
|
||||
for time = time_index_constraint
|
||||
exo(past_val + time,j_pos) = oo_.exo_simul(time,j_pos);
|
||||
end
|
||||
else
|
||||
|
|
|
@ -24,7 +24,7 @@ function print_expectations(eqname, expectationmodelname, expectationmodelkind,
|
|||
%
|
||||
% The variable expectationmodelkind can take two values 'var' or 'pac'.
|
||||
|
||||
% Copyright © 2018-2021 Dynare Team
|
||||
% Copyright © 2018-2023 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
@ -347,7 +347,7 @@ for i=1:maxlag
|
|||
for k=1:length(expectationmodel.components)
|
||||
parameter = M_.params(expectationmodel.components(k).h_param_indices(id));
|
||||
if parameter>=0
|
||||
expressions{k} = sprintf('%s+%1.16f*%s', expressions{k}, parameter, variable);;
|
||||
expressions{k} = sprintf('%s+%1.16f*%s', expressions{k}, parameter, variable);
|
||||
else
|
||||
expressions{k} = sprintf('%s-%1.16f*%s', expressions{k}, -parameter, variable);
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue