[GRASS-git] [OSGeo/grass] ae869f: r.horizon: fix bad output by Apple ARM machines (#...

Nicklas Larsson noreply at github.com
Tue Feb 6 12:58:54 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: ae869f5aaabbb48387f986abeee812c1af2b2afe
      https://github.com/OSGeo/grass/commit/ae869f5aaabbb48387f986abeee812c1af2b2afe
  Author: Nicklas Larsson <n_larsson at yahoo.com>
  Date:   2024-02-06 (Tue, 06 Feb 2024)

  Changed paths:
    M raster/r.horizon/main.c

  Log Message:
  -----------
  r.horizon: fix bad output by Apple ARM machines (#3403)

Back and forth conversion of 0.0 deg to rad to deg resulted in -0.0 leading to
erroneous print out.

Problem pinpointed by Nicklas, solution provided by Anna.

Co-authored-by: Anna Petrasova <kratochanna at gmail.com>




More information about the grass-commit mailing list