Bug correction.

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1962 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
adjemian 2008-07-25 08:26:20 +00:00
parent 6ff7605f58
commit 6b0ba30fb9
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ elseif pshape(indx) == 5 %/* UNIFORM PRIOR */
abscissa = infbound:stepsize:supbound;
dens = density(abscissa,a,b);
elseif pshape(indx) == 6 %/* INVGAMMA PRIOR type 2 */
density = inline('inv(gamma(nu/2))*(x.^(-.5(nu+2)))*((s/2)^(nu/2)).*exp(-s./(2*x))','x','s','nu');
density = inline('inv(gamma(nu/2))*(x.^(-.5*(nu+2)))*((s/2)^(nu/2)).*exp(-s./(2*x))','x','s','nu');
nu = p2(indx);
s = p1(indx);
a = nu/2;