File tree Expand file tree Collapse file tree 3 files changed +14
-9
lines changed
Sources/_TestUtilities/PnnsUtilities Expand file tree Collapse file tree 3 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ concurrency:
1414 cancel-in-progress : true
1515# Keep versions in sync with README
1616env :
17- SWIFTLINT_VERSION : 0.59.1
18- SWIFTFORMAT_VERSION : 0.56.4
17+ SWIFTLINT_VERSION : 0.61.0
18+ SWIFTFORMAT_VERSION : 0.58.3
1919 SWIFT_HOMOMORPHIC_ENCRYPTION_ENABLE_BENCHMARKING : 1
2020jobs :
2121 soundness :
Original file line number Diff line number Diff line change @@ -153,11 +153,11 @@ We'd like this package to quickly embrace Swift language and toolchain improveme
153153## Developing Swift Homomorphic Encryption
154154### Dependencies
155155Developing Swift Homomorphic Encryption requires:
156- * [ Nick Lockwood SwiftFormat] ( https://github.com/nicklockwood/SwiftFormat ) , 0.56.4
156+ * [ Nick Lockwood SwiftFormat] ( https://github.com/nicklockwood/SwiftFormat ) , 0.58.3
157157* [ pre-commit] ( https://pre-commit.com )
158158* [ swift-format] ( https://github.com/swiftlang/swift-format ) , 600.0.0
159159* [ swift-protobuf] ( https://github.com/apple/swift-protobuf ) , 1.31.1
160- * [ SwiftLint] ( https://github.com/realm/SwiftLint ) , 0.59.1
160+ * [ SwiftLint] ( https://github.com/realm/SwiftLint ) , 0.61.0
161161
162162### Building
163163You can build Swift Homomorphic Encryption either via Xcode or via command line in a terminal.
Original file line number Diff line number Diff line change @@ -50,13 +50,15 @@ extension PrivateNearestNeighborSearchUtil {
5050 #expect( throws: Never . self) { try PlaintextMatrix < Scheme , Coeff > (
5151 dimensions: dims,
5252 packing: packing,
53- plaintexts: [ plaintext, plaintext] ) }
53+ plaintexts: [ plaintext, plaintext] )
54+ }
5455
5556 // Not enough plaintexts
5657 #expect( throws: ( any Error ) . self) { try PlaintextMatrix < Scheme , Coeff > (
5758 dimensions: dims,
5859 packing: packing,
59- plaintexts: [ ] ) }
60+ plaintexts: [ ] )
61+ }
6062 // Plaintexts from different contexts
6163 do {
6264 let diffRlweParams = rlweParams == PredefinedRlweParameters
@@ -73,7 +75,8 @@ extension PrivateNearestNeighborSearchUtil {
7375 #expect( throws: ( any Error ) . self) { try PlaintextMatrix < Scheme , Coeff > (
7476 dimensions: dims,
7577 packing: packing,
76- plaintexts: [ plaintext, diffPlaintext] ) }
78+ plaintexts: [ plaintext, diffPlaintext] )
79+ }
7780 }
7881 }
7982 for rlweParams in PredefinedRlweParameters . allCases where rlweParams. supportsScalar ( Scheme . Scalar. self) {
@@ -101,7 +104,8 @@ extension PrivateNearestNeighborSearchUtil {
101104 context: context,
102105 dimensions: wrongDims,
103106 packing: packing,
104- values: values) }
107+ values: values)
108+ }
105109 }
106110 // Too many columns
107111 do {
@@ -110,7 +114,8 @@ extension PrivateNearestNeighborSearchUtil {
110114 context: context,
111115 dimensions: dims,
112116 packing: packing,
113- values: values) }
117+ values: values)
118+ }
114119 }
115120 }
116121
You can’t perform that action at this time.
0 commit comments