[Raster-commits] r372 - pkg/raster/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Mar 19 09:45:54 CET 2009


Author: rhijmans
Date: 2009-03-19 09:45:54 +0100 (Thu, 19 Mar 2009)
New Revision: 372

Modified:
   pkg/raster/R/xyValues.R
Log:


Modified: pkg/raster/R/xyValues.R
===================================================================
--- pkg/raster/R/xyValues.R	2009-03-19 08:15:37 UTC (rev 371)
+++ pkg/raster/R/xyValues.R	2009-03-19 08:45:54 UTC (rev 372)
@@ -75,7 +75,7 @@
 			}	
 			return(result)		
 	
-		} else if (method==simple) {
+		} else if (method=='simple') {
 			cells <- cellFromXY(object, xyCoords)
 			return(.stackReadCells(object, cells))
 		} else {



More information about the Raster-commits mailing list