Skip to content
Snippets Groups Projects
Commit 75331d7a authored by Ferhat Mihoubi's avatar Ferhat Mihoubi
Browse files

The global oo_.steady_state should also be updated in the homotopy loop

parent 7889ac21
Branches
Tags
No related merge requests found
......@@ -77,5 +77,5 @@ for i=1:step_nbr+1
oo_.exo_steady_state(values(ix,2)) = points(ix,i);
oo_.exo_det_steady_state(values(ixd,2)) = points(ixd,i);
steady_(M_,options_,oo_);
oo_.steady_state = steady_(M_,options_,oo_);
end
......@@ -100,6 +100,6 @@ for i = 1:nv
disp([ 'HOMOTOPY mode 2: lauching solver with ' deblank(varname) ' = ' num2str(v) ' ...'])
steady_(M_,options_,oo_);
oo_.steady_state = steady_(M_,options_,oo_);
end
end
......@@ -91,7 +91,7 @@ while iter < step_nbr
old_ss = oo_.steady_state;
try
steady_(M_,options_,oo_);
oo_.steady_state = steady_(M_,options_,oo_);
if length([kplus; kminus]) == nv
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment