[GRASS-SVN] r60877 - grass-addons/grass7/imagery/i.eb.z0m
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jun 19 22:06:47 PDT 2014
Author: ychemin
Date: 2014-06-19 22:06:46 -0700 (Thu, 19 Jun 2014)
New Revision: 60877
Modified:
grass-addons/grass7/imagery/i.eb.z0m/main.c
Log:
Bug fixed for output images
Modified: grass-addons/grass7/imagery/i.eb.z0m/main.c
===================================================================
--- grass-addons/grass7/imagery/i.eb.z0m/main.c 2014-06-20 04:46:57 UTC (rev 60876)
+++ grass-addons/grass7/imagery/i.eb.z0m/main.c 2014-06-20 05:06:46 UTC (rev 60877)
@@ -126,10 +126,10 @@
ncols = Rast_window_cols();
/***************************************************/
outrast1 = Rast_allocate_d_buf();
- Rast_open_new(result1, DCELL_TYPE);
+ outfd1 = Rast_open_new(result1, DCELL_TYPE);
if (input2->answer && output2->answer){
outrast2 = Rast_allocate_d_buf();
- Rast_open_new(result2, DCELL_TYPE);
+ outfd2 = Rast_open_new(result2, DCELL_TYPE);
}
DCELL d_ndvi; /* Input raster */
DCELL d_ndvi_max = 0.0; /* Generated here */
More information about the grass-commit
mailing list