Selaa lähdekoodia

update function signature (#98)

* update function signature

* Update bindings.cpp

formatting

---------

Co-authored-by: mtriplett-duality <90068742+mtriplett-duality@users.noreply.github.com>
Ian Quah 10 kuukautta sitten
vanhempi
commit
1350af77e4
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 3 2
      src/lib/bindings.cpp

+ 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);
     
-}
+}