>>>>> Glynn Clements <[EMAIL PROTECTED]> writes: >>>>> I tried running r.univar on the same map for comparison, but it >>>>> crashed while trying to compute the percentile (the other >>>>> statistics were computed okay).
[...] >> qpos_perc[i] = (int) (stats->n * stats->perc[i] / 100. - 0.5); [...] >> Here, it should rather be, e. g.: >> qpos_perc[i] = (int) (stats->n * 1e-2 * stats->perc[i] - 0.5); > Right. I've now committed the change: http://trac.osgeo.org/grass/changeset/30605 [...] _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev