Skip to content

Commit ff60bb0

Browse files
authored
Fix Sendable warning (#238)
1 parent 3f460cb commit ff60bb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/HomomorphicEncryption/HeScheme.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public struct SimdEncodingDimensions: Codable, Equatable, Hashable, Sendable {
8989
///
9090
/// The protocol should be implemented when adding a new HE scheme.
9191
/// However, several functions have an alternative API which is more ergonomic and should be preferred.
92-
public protocol HeScheme {
92+
public protocol HeScheme: Sendable {
9393
/// Coefficient type for each polynomial.
9494
associatedtype Scalar: ScalarType
9595
/// Coefficient type for signed encoding/decoding.

0 commit comments

Comments
 (0)