Conditionally conform Complex to Sendable.

This commit is contained in:
Stephen Canon committed 2025-02-20 16:59:36 -05:00
1 parent db4ef5686a
commit 803aae1ef0
1 file changed
+2
+2
View File
@@ -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.