Selaa lähdekoodia

Merge pull request #99 from openfheorg/dev

Updates 0.8.4
yspolyakov 10 kuukautta sitten
vanhempi
commit
5247126ed2
2 muutettua tiedostoa jossa 4 lisäystä ja 3 poistoa
  1. 1 1
      CMakeLists.txt
  2. 3 2
      src/lib/bindings.cpp

+ 1 - 1
CMakeLists.txt

@@ -4,7 +4,7 @@ project (OpenFHE-Python)
 
 set(OPENFHE_PYTHON_VERSION_MAJOR 0)
 set(OPENFHE_PYTHON_VERSION_MINOR 8)
-set(OPENFHE_PYTHON_VERSION_PATCH 3)
+set(OPENFHE_PYTHON_VERSION_PATCH 4)
 set(OPENFHE_PYTHON_VERSION ${OPENFHE_PYTHON_VERSION_MAJOR}.${OPENFHE_PYTHON_VERSION_MINOR}.${OPENFHE_PYTHON_VERSION_PATCH})
 
 set(CMAKE_CXX_STANDARD 17)

+ 3 - 2
src/lib/bindings.cpp

@@ -584,7 +584,8 @@ void bind_crypto_context(py::module &m)
              py::arg("levelBudget") = std::vector<uint32_t>({5, 4}),
              py::arg("dim1") = std::vector<uint32_t>({0, 0}),
              py::arg("slots") = 0,
-             py::arg("correctionFactor") = 0)
+             py::arg("correctionFactor") = 0,
+             py::arg("precompute")= true)
         .def("EvalBootstrapKeyGen", &CryptoContextImpl<DCRTPoly>::EvalBootstrapKeyGen,
              cc_EvalBootstrapKeyGen_docs,
              py::arg("privateKey"),
@@ -1155,4 +1156,4 @@ PYBIND11_MODULE(openfhe, m)
     bind_serialization(m);
     bind_schemes(m);
     
-}
+}