[Dream-commits] r42 - / pkg/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Mar 16 12:05:23 CET 2016


Author: josephguillaume
Date: 2016-03-16 12:05:22 +0100 (Wed, 16 Mar 2016)
New Revision: 42

Modified:
   /
   pkg/R/CompDensity.R
Log:
Allow logp>0


Property changes on: 
___________________________________________________________________
Added: svn:ignore
   + .Rproj.user
.Rhistory
.RData


Modified: pkg/R/CompDensity.R
===================================================================
--- pkg/R/CompDensity.R	2015-05-18 09:09:20 UTC (rev 41)
+++ pkg/R/CompDensity.R	2016-03-16 11:05:22 UTC (rev 42)
@@ -85,7 +85,7 @@
            logposterior.density={
              p <- modpred
              logp <- modpred
-             stopifnot(all(logp<=0))
+             #stopifnot(all(logp<=0)) #density>1 is actually possible
            },
            ## Similar as 3, but now weights with the Measurement Sigma
            ## TODO: identical to rmse because difference is in metrop



More information about the Dream-commits mailing list