[GRASS-user] r.statistics method=distribution: no percentages for negative basemap values

Hi,

Is there a (good) reason why there are no (or better: wrong) percentages in case of negative basemap values?

Here some sampe results:

    basemap covermap percentage

      -70 -7 inf
      -70 63 inf
      -50 -7 inf
      -50 45 inf

As far as I can see this is the relevant line in r.statistics/o_distrib.c:

68 if (catb != basecat && basecat > 0)

I also created http://trac.osgeo.org/grass/ticket/763, some days ago.

Hermann