Skip to content

Commit

Permalink
Adding gist. RE:natcap#1562
Browse files Browse the repository at this point in the history
  • Loading branch information
phargogh committed Apr 30, 2024
1 parent 1e8064b commit 8f6da6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/natcap/invest/scenic_quality/viewshed.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -824,6 +824,8 @@ def viewshed(dem_raster_path_band,
# So, this calculation would introduce error:
# z = (((previous_height-r_v)/slope_distance) * target_distance) + r_v
# while the formlation below does not.
# For the script used for testing, see
# https://gist.github.com/phargogh/c4264b37e7f0beed31661eacce53d14a
#
# Some of this may be related to the fact that x86 chips have
# extended precision for FPU-based calculations while M1 ARM chips
Expand Down

0 comments on commit 8f6da6b

Please sign in to comment.