From c5e0868db8db001e6f50daca067840df4479842f Mon Sep 17 00:00:00 2001 From: sebastien Date: Mon, 14 Dec 2009 09:17:55 +0000 Subject: [PATCH] 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 --- matlab/simultxdet.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/simultxdet.m b/matlab/simultxdet.m index e783a27af..949b98115 100644 --- a/matlab/simultxdet.m +++ b/matlab/simultxdet.m @@ -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