onekiloparsec / SwiftAA

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

'SignedNumber' is unavailable: Please use 'SignedNumeric & Comparable' instead. #79

Closed johndpope closed 6 years ago

johndpope commented 6 years ago

using xcode 9.1 or even latest beta 9.3

/// Base protocol for all numeric types of SwiftAA public protocol NumericType: _NumericType, SignedNumber, ExpressibleByFloatLiteral, Hashable { / intentionally left blank / }

this seems to fix it public protocol NumericType: _NumericType, SignedNumeric & Comparable, ExpressibleByFloatLiteral, Hashable { / intentionally left blank / }

johndpope commented 6 years ago

only happening in latest beta. will close.