fixed bug when saving simulation with replic>1
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2393 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
1a9bc8c10d
commit
80c69b42f8
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue