Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dynare
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stéphane Adjemian
dynare
Commits
a2d7e91c
Commit
a2d7e91c
authored
9 years ago
by
MichelJuillard
Browse files
Options
Downloads
Patches
Plain Diff
extended_path: fixing status of perfect foresigh solver
parent
bbfa62a3
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
matlab/ep/extended_path_core.m
+3
-1
3 additions, 1 deletion
matlab/ep/extended_path_core.m
with
3 additions
and
1 deletion
matlab/ep/extended_path_core.m
+
3
−
1
View file @
a2d7e91c
function
[
y
,
info_convergence
]
=
extended_path_core
(
periods
,
endo_nbr
,
exo_nbr
,
positive_var_indx
,
...
function
[
y
,
info_convergence
]
=
extended_path_core
(
periods
,
endo_nbr
,
exo_nbr
,
positive_var_indx
,
...
exo_simul
,
init
,
initial_conditions
,
...
exo_simul
,
init
,
initial_conditions
,
...
steady_state
,
...
steady_state
,
...
...
@@ -49,7 +50,8 @@ if flag
...
@@ -49,7 +50,8 @@ if flag
options
.
lmmcp
=
olmmcp
;
options
.
lmmcp
=
olmmcp
;
options
.
solve_algo
=
solve_algo
;
options
.
solve_algo
=
solve_algo
;
options
.
stack_solve_algo
=
stack_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
if
~
flag
&&
~
options
.
no_homotopy
exo_orig
=
oo
.
exo_simul
;
exo_orig
=
oo
.
exo_simul
;
endo_simul
=
repmat
(
steady_state
,
1
,
periods
+
1
);
endo_simul
=
repmat
(
steady_state
,
1
,
periods
+
1
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment