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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Mar 9 06:46:00 CET 2009


Author: rhijmans
Date: 2009-03-09 06:46:00 +0100 (Mon, 09 Mar 2009)
New Revision: 332

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


Modified: pkg/raster/R/overlay.R
===================================================================
--- pkg/raster/R/overlay.R	2009-03-09 05:18:02 UTC (rev 331)
+++ pkg/raster/R/overlay.R	2009-03-09 05:46:00 UTC (rev 332)
@@ -8,7 +8,7 @@
 
 setMethod('overlay', signature(x='RasterLayer', y='missing'), 
 function(x, y, fun=sum, filename="", overwrite=FALSE, filetype='raster', datatype='FLT4S', track=-1){ 
-	return(calc(x, fun=fun, overwrite=overwrite, filetype=filetype, datatype=datatype, track=track))
+	return(calc(x, fun=fun, filename=filename, overwrite=overwrite, filetype=filetype, datatype=datatype, track=track))
 }
 )
 



More information about the Raster-commits mailing list