From c62745b55d77dea977e65e6dffa448b2f719bb8b Mon Sep 17 00:00:00 2001 From: Fabian Boemer Date: Wed, 15 Oct 2025 14:29:37 -0700 Subject: [PATCH] Fix Sendable warning --- Sources/HomomorphicEncryption/HeScheme.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/HomomorphicEncryption/HeScheme.swift b/Sources/HomomorphicEncryption/HeScheme.swift index 9b2b1be7..e1d09c4a 100644 --- a/Sources/HomomorphicEncryption/HeScheme.swift +++ b/Sources/HomomorphicEncryption/HeScheme.swift @@ -89,7 +89,7 @@ public struct SimdEncodingDimensions: Codable, Equatable, Hashable, Sendable { /// /// The protocol should be implemented when adding a new HE scheme. /// However, several functions have an alternative API which is more ergonomic and should be preferred. -public protocol HeScheme { +public protocol HeScheme: Sendable { /// Coefficient type for each polynomial. associatedtype Scalar: ScalarType /// Coefficient type for signed encoding/decoding.