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
Marco Ratto
dynare
Commits
c1b0bb5e
Commit
c1b0bb5e
authored
Nov 14, 2018
by
Johannes Pfeifer
Browse files
initial_estimation_checks.m: Turn vector info into scalar
Related to
Dynare/dynare@a5b97a28
that needs to be reverted
parent
7b0ef3d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/initial_estimation_checks.m
View file @
c1b0bb5e
...
...
@@ -106,7 +106,7 @@ end
test_for_deep_parameters_calibration
(
Model
);
[
lnprior
,
~
,
~
,
info
]
=
priordens
(
xparam1
,
BayesInfo
.
pshape
,
BayesInfo
.
p6
,
BayesInfo
.
p7
,
BayesInfo
.
p3
,
BayesInfo
.
p4
);
if
info
if
any
(
info
)
fprintf
(
'The prior density evaluated at the initial values is Inf for the following parameters: %s\n'
,
BayesInfo
.
name
{
info
,
1
})
error
(
'The initial value of the prior is -Inf'
)
end
...
...
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