onekiloparsec / SwiftAA

The most comprehensive collection of accurate astronomical algorithms in (C++, Objective-C and) Swift.
http://www.onekiloparsec.dev/
MIT License
172 stars 31 forks source link

fixed infinite recursion in Moon.eclipticCoordinates #8

Closed alex-vasenin closed 7 years ago

alex-vasenin commented 7 years ago

fix for issue #6

onekiloparsec commented 7 years ago

As a small matter of style, I would prefer Degree(...) rather than Degree.init(...). But that small details. Thanks again!

alex-vasenin commented 7 years ago

I do prefer the short version too, but unfortunately Xcode autocomplete doesn't support it yet and removing those extra .inits quickly becomes annoying.