Skip to content

v1.5.1

Choose a tag to compare

@attipaci attipaci released this 02 Jan 10:23
· 323 commits to main since this release
767209f

Bug fix release.

Fixed

  • #270: novas_print_dms() gave incorrect representations of negative angles, whereby the negative sign was repeated in the minutes and seconds components also.

  • #272: CMakeLists.txt exported the core target by another name of supernovas, which messed up the CMake package dependencies and also vcpkg. Fixed by not renaming core target.

  • #275: Error in novas_sep() formula. (thanks to @prookyon)

  • #276: Wrong eccentricity value in novas_make_moon_orbit(), resulting in errors up to a few degrees in the Moon's orbital modeling. (thanks to @prookyon)

Changed

  • #273: Removed CLEAN_DIRECT_OUTPUT from CMakeLists.txt. It's an option that is no longer needed or used (since 2009).

  • #273: Removed unnecessary POSITION_INDEPENDENT_CODE from CMakeLists.txt. (It's automatic for shared libraries.)

  • #273: Updated README.md CMake snippet for building against the supernovas package.

  • #276, #280: Improved Lunar orbital modeling in novas_make_moon_orbit(), by using the leading terms from the ELP/MPP02 model, for a typical accuracy at the 10 arcmin level for a day or so around the reference epoch of the orbital parameters.

  • #284: Changed strcpy() calls to the safer strncpy(). (thanks to @ChooseAfferoGPL)

  • novas_sep() now uses the Vincenty formula for calculating distances on a sphere, which is accurate for all locations, unlike the law of cosines or the haversine formula used previously.

  • CMake: cmake_minimum_required() now includes current version upper bound of 4.2, in preparation to CMake 4.0 (see https://fedoraproject.org/wiki/Changes/CMake4.0 for more explanation).

  • Fix unclosed code blocks in Doxygen markup (causes errors in latest Doxygen).

  • CMake libraries (targets) built with transitive dependencies.