Skip to content

Commit

Permalink
minor fix from swisseph dev
Browse files Browse the repository at this point in the history
  • Loading branch information
timotejroiko committed Nov 19, 2022
1 parent 0aa9d5e commit e507adf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deps/swisseph/swephlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -4005,7 +4005,7 @@ static void split_deg_nakshatra(double ddeg, int32 roundflag, int32 *ideg, int32
* ideg degrees,
* imin minutes,
* isec seconds,
* dsecfr fraction of seconds
* dsecfr fraction of seconds (zero if rounding used)
* isgn zodiac sign number;
* or +/- sign
*
Expand Down Expand Up @@ -4050,7 +4050,7 @@ void CALL_CONV swe_split_deg(double ddeg, int32 roundflag, int32 *ideg, int32 *i
if (!(roundflag & (SE_SPLIT_DEG_ROUND_DEG | SE_SPLIT_DEG_ROUND_MIN | SE_SPLIT_DEG_ROUND_SEC))) {
*dsecfr = ddeg * 3600 - *isec;
} else {
*dsecfr = *isec; // is rounded, no fractional seconds
*dsecfr = 0;
}
} /* end split_deg */

Expand Down

0 comments on commit e507adf

Please sign in to comment.