mirror of
https://github.com/apple/swift-numerics
synced 2026-11-27 05:04:26 +00:00
Restrict sendable conformance for Complex to 5.5 and higher.
This commit is contained in:
1 file changed
+2
@@ -69,7 +69,9 @@ public struct Complex<RealType> where RealType: Real {
|
||||
}
|
||||
}
|
||||
|
||||
#if swift(>=5.5)
|
||||
extension Complex: Sendable where RealType: Sendable { }
|
||||
#endif
|
||||
|
||||
// MARK: - Basic properties
|
||||
extension Complex {
|
||||
|
||||
Reference in new issue
Block a user