trunk: fixed bug in sim1.m for options_.terminal_condition == 1 (to be merged in 4.1)

git-svn-id: https://www.dynare.org/svn/dynare/trunk@3274 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
michel 2009-12-19 15:25:19 +00:00
parent 462cba9158
commit f7ff186c63
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ for iter = 1:options_.maxit_
s = eye(ny) ;
s(:,isf) = s(:,isf)+c(ic,1:nyf) ;
ic = ic + ny ;
c(ic,nrc) = s\c(:,nrc) ;
c(ic,nrc) = s\c(ic,nrc) ;
c = bksup1(ny,nrc) ;
c = reshape(c,ny,options_.periods+1) ;
oo_.endo_simul(:,it_init+(0:options_.periods)) = oo_.endo_simul(:,it_init+(0:options_.periods))+options_.slowc*c ;