fixed bug when saving simulation with replic>1

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2393 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
ratto 2009-02-04 13:40:17 +00:00
parent 1a9bc8c10d
commit 80c69b42f8
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ for i=1:replic
end
y_ = simult_(ys,dr,oo_.exo_simul,order);
if replic > 1
fwrite(fh,oo_.endo_simul(:,M_.maximum_lag+1:end),'float64');
fwrite(fh,y_(:,M_.maximum_lag+1:end),'float64');
end
end