[GRASS-SVN] r42725 - grass/trunk/imagery/i.atcorr

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jul 8 10:57:06 EDT 2010


Author: neteler
Date: 2010-07-08 14:57:06 +0000 (Thu, 08 Jul 2010)
New Revision: 42725

Modified:
   grass/trunk/imagery/i.atcorr/Iwave.cpp
Log:
fix variables in new sensor

Modified: grass/trunk/imagery/i.atcorr/Iwave.cpp
===================================================================
--- grass/trunk/imagery/i.atcorr/Iwave.cpp	2010-07-08 14:47:11 UTC (rev 42724)
+++ grass/trunk/imagery/i.atcorr/Iwave.cpp	2010-07-08 14:57:06 UTC (rev 42725)
@@ -2031,13 +2031,13 @@
 
     switch(iwa)
     {
-    case 1: for(i = 0; i < 64; i++)  ffu.s[56+i] = sr1[i];
+    case 1: for(i = 0; i < 64; i++)  ffu.s[56+i]  = sr1[i];
         break;
-    case 2: for(i = 0; i < 84; i++)  ffu.s[94+i] = sr1[i];
+    case 2: for(i = 0; i < 84; i++)  ffu.s[94+i]  = sr2[i];
         break;
-    case 3: for(i = 0; i < 80; i++)  ffu.s[118+i] = sr1[i];
+    case 3: for(i = 0; i < 80; i++)  ffu.s[118+i] = sr3[i];
         break;
-    case 4: for(i = 0; i < 90; i++)  ffu.s[180+i] = sr1[i];
+    case 4: for(i = 0; i < 90; i++)  ffu.s[180+i] = sr4[i];
         break;
     }
 }



More information about the grass-commit mailing list