Mark Complex Sendable when the underlying RealType is.

This commit is contained in:
Stephen Canon committed 2022-09-30 14:07:49 -04:00
1 parent 6c4accd836
commit e601f16e20
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.