[GRASS-dev] [GRASS GIS] #3296: r.mapcalc: nmedian() unexpected results
GRASS GIS
trac at osgeo.org
Sun Feb 26 06:15:37 PST 2017
#3296: r.mapcalc: nmedian() unexpected results
--------------------------+---------------------------------
Reporter: sbl | Owner: grass-dev@…
Type: defect | Status: closed
Priority: normal | Milestone: 7.2.1
Component: Raster | Version: svn-releasebranch72
Resolution: fixed | Keywords: r.mapcalc,nmedian()
CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------
Comment (by mmetz):
Replying to [comment:2 marisn]:
> In [changeset:"70674" 70674]:
> {{{
> #!CommitTicketReference repository="" revision="70674"
> Do not calculate median if only one variable is provided.
> Fixes #3296
> }}}
Fixed in trunk r70683. You need to use the actual number of non-NULL
values to set the pointers a1, a2.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3296#comment:6>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list