MosheBerman / KosherCocoa

My Objective-C port of KosherJava. KosherCocoa enables you to perform sunrise-based and sunset-based calculations for Jewish prayer and calendar.
GNU Lesser General Public License v2.1
7 stars 3 forks source link

== NAN does not work as intended. #147

Open Elyahu41 opened 1 year ago

Elyahu41 commented 1 year ago

Hi! I noticed this while using your library. If you use a zman like 26 degrees for tzait in New York on June 14 2023. You are supposed to get nil, however, the library passes over the if statement because you need to use the isnan() method, NOT == NAN. It's a simple fix but tedious.