Skip to content
Snippets Groups Projects
Commit a2d7e91c authored by MichelJuillard's avatar MichelJuillard
Browse files

extended_path: fixing status of perfect foresigh solver

parent bbfa62a3
No related branches found
No related tags found
No related merge requests found
function [y, info_convergence] = extended_path_core(periods,endo_nbr,exo_nbr,positive_var_indx, ...
exo_simul,init,initial_conditions,...
steady_state, ...
......@@ -49,7 +50,8 @@ if flag
options.lmmcp = olmmcp;
options.solve_algo = solve_algo;
options.stack_solve_algo = stack_solve_algo;
[tmp,flag] = perfect_foresight_solver_core(M,options,oo);
tmp = perfect_foresight_solver_core(M,options,oo);
flag = tmp.deterministic_simulation.status;
if ~flag && ~options.no_homotopy
exo_orig = oo.exo_simul;
endo_simul = repmat(steady_state,1,periods+1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment