initial_estimation_checks.m: Turn vector info into scalar
Related to a5b97a28a0
that needs to be reverted
time-shift
parent
7b0ef3d080
commit
c1b0bb5ee3
|
@ -106,7 +106,7 @@ end
|
||||||
test_for_deep_parameters_calibration(Model);
|
test_for_deep_parameters_calibration(Model);
|
||||||
|
|
||||||
[lnprior,~,~,info]= priordens(xparam1,BayesInfo.pshape,BayesInfo.p6,BayesInfo.p7,BayesInfo.p3,BayesInfo.p4);
|
[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})
|
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')
|
error('The initial value of the prior is -Inf')
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue