[GRASS-git] [OSGeo/grass] 395c0f: r.mapcalc: fix number of expressions counter (#6587)

Anna Petrasova noreply at github.com
Thu Nov 6 06:21:44 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 395c0f2deebc69e6eb19252625580231a638fc6c
      https://github.com/OSGeo/grass/commit/395c0f2deebc69e6eb19252625580231a638fc6c
  Author: Anna Petrasova <kratochanna at gmail.com>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    M raster/r.mapcalc/evaluate.c

  Log Message:
  -----------
  r.mapcalc: fix number of expressions counter (#6587)

This fixing r.mapcalc after the parallelization changes in #5742, the number of expressions was not counted correctly.
The loop relies on the total being over all expressions, so the counting needs to happen at the beginning of the loop before continue.



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