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

Nicklas Larsson noreply at github.com
Fri Feb 9 08:21:26 PST 2024


  Branch: refs/heads/releasebranch_8_3
  Home:   https://github.com/OSGeo/grass
  Commit: 9150097af0277b4079188ae0cf90ae455747e158
      https://github.com/OSGeo/grass/commit/9150097af0277b4079188ae0cf90ae455747e158
  Author: Nicklas Larsson <n_larsson at yahoo.com>
  Date:   2024-02-09 (Fri, 09 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