#3296: r.mapcalc: nmedian() unexpected results --------------------------+--------------------------------- Reporter: sbl | Owner: grass-dev@… Type: defect | Status: reopened Priority: normal | Milestone: 7.2.1 Component: Raster | Version: svn-releasebranch72 Resolution: | Keywords: r.mapcalc,nmedian() CPU: Unspecified | Platform: Unspecified --------------------------+---------------------------------
Comment (by mmetz): Replying to [comment:7 neteler]: > Replying to [comment:6 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. > > Does(n't) this need to be backported? Already done in r70684 (Feb 2017). -- Ticket URL: <https://trac.osgeo.org/grass/ticket/3296#comment:8> GRASS GIS <https://grass.osgeo.org>
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-dev