removing debug code
parent
bfc01f9369
commit
6f9720ff84
|
@ -101,9 +101,6 @@ for i = 1:order+1
|
||||||
else
|
else
|
||||||
d1 = dynamic_model(z,innovation,params,steady_state,i+1);
|
d1 = dynamic_model(z,innovation,params,steady_state,i+1);
|
||||||
end
|
end
|
||||||
if any(isnan(d1))
|
|
||||||
pause
|
|
||||||
end
|
|
||||||
res(:,i,1) = res(:,i,1)+weights(k)*d1(eq_index);
|
res(:,i,1) = res(:,i,1)+weights(k)*d1(eq_index);
|
||||||
end
|
end
|
||||||
if nargout > 1
|
if nargout > 1
|
||||||
|
@ -130,9 +127,6 @@ for i = 1:order+1
|
||||||
else
|
else
|
||||||
d1 = dynamic_model(z,innovation,params,steady_state,i+1);
|
d1 = dynamic_model(z,innovation,params,steady_state,i+1);
|
||||||
end
|
end
|
||||||
if any(isnan(d1))
|
|
||||||
pause
|
|
||||||
end
|
|
||||||
res(:,i,j) = d1(eq_index);
|
res(:,i,j) = d1(eq_index);
|
||||||
if nargout > 1
|
if nargout > 1
|
||||||
i_cols_Af = i_cols_Af + ny;
|
i_cols_Af = i_cols_Af + ny;
|
||||||
|
@ -155,9 +149,6 @@ for i = 1:order+1
|
||||||
else
|
else
|
||||||
d1 = dynamic_model(z,innovation,params,steady_state,i+1);
|
d1 = dynamic_model(z,innovation,params,steady_state,i+1);
|
||||||
end
|
end
|
||||||
if any(isnan(d1))
|
|
||||||
pause
|
|
||||||
end
|
|
||||||
res(:,i,j) = d1(eq_index);
|
res(:,i,j) = d1(eq_index);
|
||||||
end
|
end
|
||||||
i_rows = i_rows + ny;
|
i_rows = i_rows + ny;
|
||||||
|
@ -191,9 +182,6 @@ for j=1:world_nbr
|
||||||
d1 = dynamic_model(Y(i_rows_y,j),x,params, ...
|
d1 = dynamic_model(Y(i_rows_y,j),x,params, ...
|
||||||
steady_state,i+1);
|
steady_state,i+1);
|
||||||
end
|
end
|
||||||
if any(isnan(d1))
|
|
||||||
pause
|
|
||||||
end
|
|
||||||
res(:,i,j) = d1(eq_index);
|
res(:,i,j) = d1(eq_index);
|
||||||
i_rows_y = i_rows_y + ny;
|
i_rows_y = i_rows_y + ny;
|
||||||
offset_c = offset_c + world_nbr*ny;
|
offset_c = offset_c + world_nbr*ny;
|
||||||
|
|
Loading…
Reference in New Issue