Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Minje Jeon
dynare
Commits
a04c348d
Commit
a04c348d
authored
Jul 22, 2021
by
Johannes Pfeifer
Browse files
smoother2histval.m: provide warning when smoothed variables are missing
parent
dc45ac63
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/smoother2histval.m
View file @
a04c348d
...
...
@@ -78,6 +78,11 @@ end
if
post_metropolis
tmp
=
fieldnames
(
smoothedvars
.
Mean
);
if
length
(
tmp
)
~=
M_
.
endo_nbr
warning
([
'You are using smoother2histval although smoothed values have not'
...
'been computed for all endogenous and auxiliary variables.'
...
'The value of these variables will be set to 0.'
])
end
tmpexo
=
fieldnames
(
smoothedshocks
.
Mean
);
else
tmp
=
fieldnames
(
smoothedvars
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment