[Pomp-commits] r873 - pkg/pomp/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Dec 20 14:06:30 CET 2013


Author: kingaa
Date: 2013-12-20 14:06:30 +0100 (Fri, 20 Dec 2013)
New Revision: 873

Modified:
   pkg/pomp/R/pmcmc.R
Log:
- another bug fix


Modified: pkg/pomp/R/pmcmc.R
===================================================================
--- pkg/pomp/R/pmcmc.R	2013-12-20 12:49:28 UTC (rev 872)
+++ pkg/pomp/R/pmcmc.R	2013-12-20 13:06:30 UTC (rev 873)
@@ -240,6 +240,7 @@
     if (runif(1) < exp(pfp.prop at loglik+log.prior.prop-pfp@loglik-log.prior)) {
       pfp <- pfp.prop
       theta <- theta.prop
+      log.prior <- log.prior.prop
     }
 
     ## store a record of this iteration



More information about the pomp-commits mailing list