[GRASS-git] [OSGeo/grass] 28e384: r.resamp.stats: Fix quantile option being truncate...

Vinay Kumar Chopra noreply at github.com
Mon Aug 3 08:59:13 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 28e384229dc2527a7ea4b04c78d4004ef0401388
      https://github.com/OSGeo/grass/commit/28e384229dc2527a7ea4b04c78d4004ef0401388
  Author: Vinay Kumar Chopra <147031659+HUN-sp at users.noreply.github.com>
  Date:   2026-08-03 (Mon, 03 Aug 2026)

  Changed paths:
    M raster/r.resamp.stats/main.c

  Log Message:
  -----------
  r.resamp.stats: Fix quantile option being truncated to an integer (#7791)

The quantile variable is a double, but its value was parsed with atoi, so
any quantile below 1.0 became 0 and method=quantile returned the minimum
regardless of the requested quantile. Use atof, as r.neighbors, r.series
and r3.neighbors already do for the same option.



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list