[Vegan-commits] r1867 - pkg/vegan/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Sep 21 18:27:35 CEST 2011


Author: psolymos
Date: 2011-09-21 18:27:34 +0200 (Wed, 21 Sep 2011)
New Revision: 1867

Modified:
   pkg/vegan/R/update.nullmodel.R
Log:
small fix, now update.nullmodel works

Modified: pkg/vegan/R/update.nullmodel.R
===================================================================
--- pkg/vegan/R/update.nullmodel.R	2011-09-21 15:58:12 UTC (rev 1866)
+++ pkg/vegan/R/update.nullmodel.R	2011-09-21 16:27:34 UTC (rev 1867)
@@ -23,7 +23,7 @@
             s=object$totalSum,
             fill=object$fill,
             thin=nsim, ...)
-        state <- perm[,,nsim]
+        state <- perm[,,1L]
         storage.mode(state) <- object$commsim$mode
         iter <- as.integer(object$iter + nsim)
         assign("state", state, envir=object)



More information about the Vegan-commits mailing list