Skip to content
Snippets Groups Projects
Verified Commit 4acd258d authored by Johannes Pfeifer's avatar Johannes Pfeifer Committed by Sébastien Villemot
Browse files

initial_estimation_checks.m: Turn vector info into scalar

Related to a5b97a28 that needs to be reverted

(manually cherry picked from commit c1b0bb5e)
parent 5beea983
No related branches found
No related tags found
No related merge requests found
......@@ -106,7 +106,7 @@ end
test_for_deep_parameters_calibration(Model);
[lnprior, junk1,junk2,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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment