From e601f16e20d58857c3fc75c3c5cd782b6648d35b Mon Sep 17 00:00:00 2001 From: Stephen Canon Date: Fri, 30 Sep 2022 14:07:49 -0400 Subject: [PATCH] Mark Complex Sendable when the underlying RealType is. --- Sources/ComplexModule/Complex.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/ComplexModule/Complex.swift b/Sources/ComplexModule/Complex.swift index e139f25..aa3f260 100644 --- a/Sources/ComplexModule/Complex.swift +++ b/Sources/ComplexModule/Complex.swift @@ -69,6 +69,8 @@ public struct Complex where RealType: Real { } } +extension Complex: Sendable where RealType: Sendable { } + // MARK: - Basic properties extension Complex { /// The real part of this complex value.