Skip to content

Commit

Permalink
fixed house speed bug for Vehlow
Browse files Browse the repository at this point in the history
  • Loading branch information
aloistr committed Jan 4, 2021
1 parent 9c1c8ea commit 9485df5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions swehouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -1330,17 +1330,16 @@ static int CalcH(
if (acmc < 0) {
/* within polar circle we swap AC/DC if AC is on wrong side */
hsp->ac = swe_degnorm(hsp->ac + 180);
hsp->cusp[1] = hsp->ac;
}
hsp->cusp[1] = swe_degnorm(hsp->ac - 15);
for (i = 2; i <=12; i++)
hsp->cusp[i] = swe_degnorm(hsp->cusp[1] + (i-1) * 30);
break;
if (hsp->do_hspeed) {
for (i = 1; i <=12; i++) {
hsp->cusp_speed[i] = hsp->ac_speed;
}
}
break;
case 'W': /* equal, whole-sign houses */
acmc = swe_difdeg2n(hsp->ac, hsp->mc);
if (acmc < 0) {
Expand Down

0 comments on commit 9485df5

Please sign in to comment.