[Vegan-commits] r1152 - pkg/permute/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Feb 28 16:09:35 CET 2010


Author: gsimpson
Date: 2010-02-28 16:09:35 +0100 (Sun, 28 Feb 2010)
New Revision: 1152

Modified:
   pkg/permute/R/numPerms.R
Log:
logic was overwriting num.blocks with NULL

Modified: pkg/permute/R/numPerms.R
===================================================================
--- pkg/permute/R/numPerms.R	2010-02-28 13:39:56 UTC (rev 1151)
+++ pkg/permute/R/numPerms.R	2010-02-28 15:09:35 UTC (rev 1152)
@@ -55,6 +55,8 @@
                 blocks.multi * nobs
             else
                 nobs
+        } else {
+            1
         }
     }
     ## within



More information about the Vegan-commits mailing list