fixed bug in stochastic extended path for orders > 1

time-shift
Michel Juillard 2012-12-02 14:28:29 +01:00
parent aafff99422
commit 118a823310
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ function [flag,endo_simul,err] = solve_stochastic_perfect_foresight_model(endo_s
i_cols_A = [i_cols_Ap; i_cols_As; i_cols_Af];
A1(i_rows,i_cols_A) = A1(i_rows,i_cols_A) + weights(k)*jacobian(:,i_cols_j);
end
res(:,i,j) = res(:,j,i)+weights(k)*d1;
res(:,i,j) = res(:,i,j)+weights(k)*d1;
i_cols_Af = i_cols_Af + ny;
end
else