[Pomp-commits] r751 - in pkg/pomp: . src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Jul 13 15:52:43 CEST 2012


Author: kingaa
Date: 2012-07-13 15:52:42 +0200 (Fri, 13 Jul 2012)
New Revision: 751

Modified:
   pkg/pomp/DESCRIPTION
   pkg/pomp/src/dmeasure.c
Log:
- fix bug in 'dmeasure' when log=T.  bug found by R. Reiner.


Modified: pkg/pomp/DESCRIPTION
===================================================================
--- pkg/pomp/DESCRIPTION	2012-07-10 19:03:29 UTC (rev 750)
+++ pkg/pomp/DESCRIPTION	2012-07-13 13:52:42 UTC (rev 751)
@@ -1,8 +1,8 @@
 Package: pomp
 Type: Package
 Title: Statistical inference for partially observed Markov processes
-Version: 0.43-2
-Date: 2012-07-10
+Version: 0.43-3
+Date: 2012-07-12
 Author: Aaron A. King, Edward L. Ionides, Carles Breto, Steve Ellner, Bruce Kendall, Helen Wearing, Matthew J. Ferrari, Michael Lavine, Daniel C. Reuman
 Maintainer: Aaron A. King <kingaa at umich.edu>
 URL: http://pomp.r-forge.r-project.org

Modified: pkg/pomp/src/dmeasure.c
===================================================================
--- pkg/pomp/src/dmeasure.c	2012-07-10 19:03:29 UTC (rev 750)
+++ pkg/pomp/src/dmeasure.c	2012-07-13 13:52:42 UTC (rev 751)
@@ -56,7 +56,7 @@
   PROTECT(Pnames = GET_ROWNAMES(GET_DIMNAMES(params))); nprotect++;
   PROTECT(Cnames = GET_COLNAMES(GET_DIMNAMES(GET_SLOT(object,install("covar"))))); nprotect++;
     
-  give_log = *(INTEGER(log));
+  give_log = *(INTEGER(AS_INTEGER(log)));
 
   // set up the covariate table
   covariate_table = make_covariate_table(object,&ncovars);



More information about the pomp-commits mailing list