[GRASS-git] [OSGeo/grass] 0cb6d7: r.stream.extract: restore removed code making r.st...

Anna Petrasova noreply at github.com
Tue Oct 28 06:18:20 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 0cb6d7f4dbcaa5765ba12cb177040f57a6e5b34a
      https://github.com/OSGeo/grass/commit/0cb6d7f4dbcaa5765ba12cb177040f57a6e5b34a
  Author: Anna Petrasova <kratochanna at gmail.com>
  Date:   2025-10-28 (Tue, 28 Oct 2025)

  Changed paths:
    M raster/r.stream.extract/streams.c

  Log Message:
  -----------
  r.stream.extract: restore removed code making r.stream.extract more robust (#6543)

This block got removed as part of compiler warnings cleanup #1248, but the removal broke special cases (#6541).
The intention of r.stream.extract is to use external flow accumulation for stream extraction, but if in doubt follow the A* search direction, i.e. if (fabs(wat_nbr[np_side]) >= max_acc).
Restoring this deleted code block in addition to #6554 should make r.stream.extract robust for special cases as reported in #6541.



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