From 6f9720ff84202de6d40238acee184060c44b1bfa Mon Sep 17 00:00:00 2001 From: Michel Juillard Date: Mon, 16 Jun 2014 14:24:05 +0200 Subject: [PATCH] removing debug code --- matlab/ep/ep_problem_2.m | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/matlab/ep/ep_problem_2.m b/matlab/ep/ep_problem_2.m index f10ccc942..510916933 100644 --- a/matlab/ep/ep_problem_2.m +++ b/matlab/ep/ep_problem_2.m @@ -101,9 +101,6 @@ for i = 1:order+1 else d1 = dynamic_model(z,innovation,params,steady_state,i+1); end - if any(isnan(d1)) - pause - end res(:,i,1) = res(:,i,1)+weights(k)*d1(eq_index); end if nargout > 1 @@ -130,9 +127,6 @@ for i = 1:order+1 else d1 = dynamic_model(z,innovation,params,steady_state,i+1); end - if any(isnan(d1)) - pause - end res(:,i,j) = d1(eq_index); if nargout > 1 i_cols_Af = i_cols_Af + ny; @@ -155,9 +149,6 @@ for i = 1:order+1 else d1 = dynamic_model(z,innovation,params,steady_state,i+1); end - if any(isnan(d1)) - pause - end res(:,i,j) = d1(eq_index); end i_rows = i_rows + ny; @@ -191,9 +182,6 @@ for j=1:world_nbr d1 = dynamic_model(Y(i_rows_y,j),x,params, ... steady_state,i+1); end - if any(isnan(d1)) - pause - end res(:,i,j) = d1(eq_index); i_rows_y = i_rows_y + ny; offset_c = offset_c + world_nbr*ny;