Skip to content

Commit c5a3ae5

Browse files
authored
Public Dev Sync-3 October 2020
Public Dev Sync-3 October 2020 includes: * First draft of new encoding APIs * CKKS enhancements * CKKS bug fixes * Test code for the new APIs * Initial doxygen docs Co-authored-by: Victor Shoup shoup@cs.nyu.edu Co-authored-by: Jack Crawford jack.crawford@sky.com Co-authored-by: Hamish Hunt hamishun@gmail.com Co-authored-by: Enrico Steffinlongo enrylongo@gmail.com Co-Authored-by: Flavio Bergamaschi anadyomeni@gmx.com
2 parents a00f17f + 74124ce commit c5a3ae5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+6931
-1591
lines changed

examples/BGV_binary_arithmetic/BGV_binary_arithmetic.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ int main(int argc, char* argv[])
6969
// Modify the context, adding primes to the modulus chain.
7070
// This defines the ciphertext space.
7171
std::cout << "Building modulus chain..." << std::endl;
72-
buildModChain(context, bits, c);
72+
buildModChain(context, bits, c, /*willBeBootstrappable=*/true);
7373

7474
// Make bootstrappable.
7575
// Modify the context, providing bootstrapping capabilities.
7676
// Boostrapping has the affect of 'refreshing' a ciphertext back to a higher
7777
// level so more operations can be performed.
78-
context.makeBootstrappable(
78+
context.enableBootStrapping(
7979
helib::convert<NTL::Vec<long>, std::vector<long>>(mvec));
8080

8181
// Print the context.

0 commit comments

Comments
 (0)