Browse Source

increase TI cache

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@37124 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 16 năm trước cách đây
mục cha
commit
2a4ee20423
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      imagery/i.atcorr/main.cpp

+ 2 - 2
imagery/i.atcorr/main.cpp

@@ -131,7 +131,7 @@ class TICache
 {
 {
     enum TICacheSize
     enum TICacheSize
     {
     {
-        MAX_TIs = 128 /* this value is a guess, increase it if in general more categories are used */
+        MAX_TIs = 1024 /* this value is a guess, increase it if in general more categories are used */
     };
     };
     TransformInput tis[MAX_TIs];
     TransformInput tis[MAX_TIs];
     float alts[MAX_TIs];
     float alts[MAX_TIs];
@@ -167,7 +167,7 @@ class TIMap
 {
 {
     enum TIMapSize
     enum TIMapSize
     {
     {
-	MAX_TICs = 128 /* this value is a guess. It means that 1024 TI's will be the max combinations of vis/alt pairs */
+	MAX_TICs = 1024 /* this value is a guess. It means that 1024 TI's will be the max combinations of vis/alt pairs */
     };
     };
 
 
     TICache tic[MAX_TICs]; /* array of TICaches */
     TICache tic[MAX_TICs]; /* array of TICaches */