mirror of
https://github.com/apple/swift-numerics
synced 2026-11-26 04:57:53 +00:00
Mark Complex Sendable when the underlying RealType is.
This commit is contained in:
1 parent
6c4accd836
commit
e601f16e20
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