-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase sice of hcusp array to fix ASAN error on CRAN
- Loading branch information
Showing
2 changed files
with
14 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/src/libswe/swehouse.c b/src/libswe/swehouse.c | ||
index 627796a..551d26b 100644 | ||
--- a/src/libswe/swehouse.c | ||
+++ b/src/libswe/swehouse.c | ||
@@ -1810,7 +1810,7 @@ double CALL_CONV swe_house_pos( | ||
//double demc; | ||
double fh, ra0, tanfi, fac, dfac, tanx; | ||
double x[3], xasc[3], raep, raaz, oblaz, xtemp; /* BK 21.02.2006 */ | ||
- double hcusp[36], ascmc[10]; | ||
+ double hcusp[37], ascmc[10]; | ||
double sine = sind(eps); | ||
double cose = cosd(eps); | ||
double c1, c2, d, hsize; |
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