Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

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;
 }