Diff of /src/modules/bugs/distributions/DWish.cc [69317c] .. [2782e3]  Maximize  Restore

Switch to side-by-side view

--- a/src/modules/bugs/distributions/DWish.cc
+++ b/src/modules/bugs/distributions/DWish.cc
@@ -51,7 +51,7 @@
 	loglik += scale[i] * x[i];
     }
     loglik += DF(par) * logdet(scale, p) + (DF(par) - p - 1) * logdet(x, p);
-    loglik -= DF(par) * p * log(2) + 2 * log_multigamma(DF(par)/2, p);
+    loglik -= DF(par) * p * log(2.0) + 2 * log_multigamma(DF(par)/2, p);
     return loglik/2;
 }
 

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks