simultxdet.m: fixed bug when var_list is not equal to the set of all endogenous

git-svn-id: https://www.dynare.org/svn/dynare/trunk@3234 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
sebastien 2009-12-14 09:17:55 +00:00
parent 90f5ab741b
commit c5e0868db8
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ function [y_,int_width]=simultxdet(y0,ex,ex_det, iorder,var_list,M_,oo_,options_
fact = norminv((1-options_.conf_sig)/2,0,1);
int_width = zeros(iter,endo_nbr);
for i=1:endo_nbr
for i=1:nvar
int_width(:,i) = fact*sqrt(var_yf(:,i));
end