Diff of /src/modules/bugs/distributions/DUnif.cc [01a998] .. [081fbe]  Maximize  Restore

Switch to side-by-side view

--- a/src/modules/bugs/distributions/DUnif.cc
+++ b/src/modules/bugs/distributions/DUnif.cc
@@ -32,7 +32,7 @@
     else if (type == PDF_PRIOR) 
 	return 0;
     else
-	return log(UPPER(par) - LOWER(par));
+	return - log(UPPER(par) - LOWER(par));
 }
 
 double DUnif::randomSample(vector<double const *> const &par, 

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

Sign up for the SourceForge newsletter:





No, thanks