From 803aae1ef010250040f364cd8ba03f3f81f92ffa Mon Sep 17 00:00:00 2001 From: Stephen Canon Date: Thu, 20 Feb 2025 16:59:36 -0500 Subject: [PATCH] Conditionally conform Complex to Sendable. --- Sources/ComplexModule/Complex.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/ComplexModule/Complex.swift b/Sources/ComplexModule/Complex.swift index 8aeabc8..4a3c32b 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.