mirror of
https://github.com/apple/swift-numerics
synced 2026-11-25 04:47:53 +00:00
Conditionally conform Complex to Sendable.
This commit is contained in:
1 file changed
+2
@@ -69,6 +69,8 @@ public struct Complex<RealType> where RealType: Real {
|
||||
}
|
||||
}
|
||||
|
||||
extension Complex: Sendable where RealType: Sendable { }
|
||||
|
||||
// MARK: - Basic properties
|
||||
extension Complex {
|
||||
/// The real part of this complex value.
|
||||
|
||||
Reference in new issue
Block a user