[GRASS-SVN] r70847 - grass/trunk/raster/r.reclass

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Apr 6 18:51:48 PDT 2017


Author: annakrat
Date: 2017-04-06 18:51:48 -0700 (Thu, 06 Apr 2017)
New Revision: 70847

Modified:
   grass/trunk/raster/r.reclass/parse.c
Log:
r.reclass: allow using more than 100 rules

Modified: grass/trunk/raster/r.reclass/parse.c
===================================================================
--- grass/trunk/raster/r.reclass/parse.c	2017-04-06 21:02:30 UTC (rev 70846)
+++ grass/trunk/raster/r.reclass/parse.c	2017-04-07 01:51:48 UTC (rev 70847)
@@ -17,7 +17,7 @@
     const char *label;
     const char *save;
     CELL v;
-    CELL lo[100], hi[100], new = (CELL) 0;
+    CELL lo[1024], hi[1024], new = (CELL) 0;
     int count;
     int i, last_null = 0;
 



More information about the grass-commit mailing list