v1.5.1
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.txtexported thecoretarget by another name ofsupernovas, which messed up the CMake package dependencies and also vcpkg. Fixed by not renamingcoretarget. -
#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_OUTPUTfromCMakeLists.txt. It's an option that is no longer needed or used (since 2009). -
#273: Removed unnecessary
POSITION_INDEPENDENT_CODEfromCMakeLists.txt. (It's automatic for shared libraries.) -
#273: Updated
README.mdCMake snippet for building against thesupernovaspackage. -
#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 saferstrncpy(). (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.