moments_varendo: compute variance decomposition only if there is more than one exogenous variable

time-shift
Michel Juillard 2010-08-11 12:03:19 +02:00
parent 8440c17499
commit e4986047ae
1 changed files with 19 additions and 17 deletions

View File

@ -94,6 +94,7 @@ else
end
end
% VARIANCE DECOMPOSITION.
if M_.exo_nbr > 1
if posterior
for i=1:NumberOfEndogenousVariables
for j=1:NumberOfExogenousVariables
@ -123,3 +124,4 @@ if Steps
end
end
end
end