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
Dynare
dynare
Commits
04ab1e56
Verified
Commit
04ab1e56
authored
3 years ago
by
Sébastien Villemot
Browse files
Options
Downloads
Plain Diff
Merge branch 'steady_debug' of git.dynare.org:JohannesPfeifer/dynare
Ref.
!1982
parents
d841fc7c
b966e5eb
No related branches found
No related tags found
1 merge request
!1982
evaluate_steady_state.m: do not check auxiliary initial values if they haven't been set
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
matlab/evaluate_steady_state.m
+10
-2
10 additions, 2 deletions
matlab/evaluate_steady_state.m
with
10 additions
and
2 deletions
matlab/evaluate_steady_state.m
+
10
−
2
View file @
04ab1e56
...
...
@@ -127,14 +127,22 @@ if options.ramsey_policy
end
end
if
options
.
debug
if
steadystate_flag
infrow
=
find
(
isinf
(
ys_init
(
1
:
M
.
orig_endo_nbr
)));
else
infrow
=
find
(
isinf
(
ys_init
));
end
if
~
isempty
(
infrow
)
fprintf
(
'\nevaluate_steady_state: The initial values for the steady state of the following variables are Inf:\n'
);
for
iter
=
1
:
length
(
infrow
)
fprintf
(
'%s\n'
,
M
.
endo_names
{
infrow
(
iter
)});
end
end
if
steadystate_flag
nanrow
=
find
(
isnan
(
ys_init
(
1
:
M
.
orig_endo_nbr
)));
else
nanrow
=
find
(
isnan
(
ys_init
));
end
if
~
isempty
(
nanrow
)
fprintf
(
'\nevaluate_steady_state: The initial values for the steady state of the following variables are NaN:\n'
);
for
iter
=
1
:
length
(
nanrow
)
...
...
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