[Pomp-commits] r203 - pkg/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Feb 11 03:45:08 CET 2010


Author: kingaa
Date: 2010-02-11 03:45:06 +0100 (Thu, 11 Feb 2010)
New Revision: 203

Modified:
   pkg/R/mif.R
Log:
- fix of bug that occurs when mif's 'start' argument is specified with parameters in a different order than they occur in the 'params' slot of the pomp object


Modified: pkg/R/mif.R
===================================================================
--- pkg/R/mif.R	2010-01-28 12:00:40 UTC (rev 202)
+++ pkg/R/mif.R	2010-02-11 02:45:06 UTC (rev 203)
@@ -268,7 +268,7 @@
 
   }
 
-  coef(obj) <- theta
+  coef(obj,names(theta)) <- theta
 
   if (Nmif>0) {
     obj at Nmif <- as.integer(Nmif)



More information about the pomp-commits mailing list