From da8f702429fe6dedec9624a5eb252c7701849fb1 Mon Sep 17 00:00:00 2001 From: Michel Juillard Date: Sun, 11 Jan 2015 19:36:23 +0100 Subject: [PATCH] removed parfor used for building the Jacobian --- matlab/ep/solve_stochastic_perfect_foresight_model.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/ep/solve_stochastic_perfect_foresight_model.m b/matlab/ep/solve_stochastic_perfect_foresight_model.m index 683a6cec6..36bed1a30 100644 --- a/matlab/ep/solve_stochastic_perfect_foresight_model.m +++ b/matlab/ep/solve_stochastic_perfect_foresight_model.m @@ -177,7 +177,7 @@ function [flag,endo_simul,err] = solve_stochastic_perfect_foresight_model(endo_s i_cols_f = i_cols_f + ny; end nzA = cell(periods,world_nbr); - parfor j=1:world_nbr + for j=1:world_nbr i_rows_y = find(lead_lag_incidence')+(order+1)*ny; offset_c = ny*(sum(nnodes.^(0:order-1),2)+j-1); offset_r = (j-1)*ny;