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
Container registry
Model registry
Operate
Environments
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
Frédéric Karamé
dynare
Commits
75331d7a
Commit
75331d7a
authored
13 years ago
by
Ferhat Mihoubi
Browse files
Options
Downloads
Patches
Plain Diff
The global oo_.steady_state should also be updated in the homotopy loop
parent
7889ac21
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
matlab/homotopy1.m
+1
-1
1 addition, 1 deletion
matlab/homotopy1.m
matlab/homotopy2.m
+1
-1
1 addition, 1 deletion
matlab/homotopy2.m
matlab/homotopy3.m
+1
-1
1 addition, 1 deletion
matlab/homotopy3.m
with
3 additions
and
3 deletions
matlab/homotopy1.m
+
1
−
1
View file @
75331d7a
...
...
@@ -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
This diff is collapsed.
Click to expand it.
matlab/homotopy2.m
+
1
−
1
View file @
75331d7a
...
...
@@ -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
This diff is collapsed.
Click to expand it.
matlab/homotopy3.m
+
1
−
1
View file @
75331d7a
...
...
@@ -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
...
...
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