-
-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
r.horizon: variable needs to be reset for point mode (#3441)
The bug is that for part of the angles it results in zeros. It comes up when there are nulls at the edge of the raster, test was added.
- Loading branch information
1 parent
c00f531
commit 6a52add
Showing
2 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -757,6 +757,7 @@ double horizon_height(void) | |
|
||
tanh0 = 0.; | ||
length = 0; | ||
zp = z_orig; | ||
|
||
height = searching(); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters