[GRASS-SVN] r33586 - grass/trunk/imagery/i.vi
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Sep 28 23:18:26 EDT 2008
Author: ychemin
Date: 2008-09-28 23:18:25 -0400 (Sun, 28 Sep 2008)
New Revision: 33586
Modified:
grass/trunk/imagery/i.vi/main.c
Log:
correcting typo
Modified: grass/trunk/imagery/i.vi/main.c
===================================================================
--- grass/trunk/imagery/i.vi/main.c 2008-09-28 21:55:11 UTC (rev 33585)
+++ grass/trunk/imagery/i.vi/main.c 2008-09-29 03:18:25 UTC (rev 33586)
@@ -230,7 +230,7 @@
else {
/* calculate simple_ratio */
if (!strcmp(viflag, "sr"))
- d = s_r(d_redchan, d_nirchan);
+ outrast[col] = s_r(d_redchan, d_nirchan);
/* calculate ndvi */
if (!strcmp(viflag, "ndvi")) {
More information about the grass-commit
mailing list