diff --git a/docs/conf.py b/docs/conf.py index f10e41e..4a713de 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -26,7 +26,7 @@ # The short X.Y version version = '' # The full version, including alpha/beta/rc tags -release = '0.8.0' +release = 'v1.3.1.0' # -- General configuration --------------------------------------------------- diff --git a/src/include/docstrings/cryptocontext_docs.h b/src/include/docstrings/cryptocontext_docs.h index a4da327..a7571a0 100644 --- a/src/include/docstrings/cryptocontext_docs.h +++ b/src/include/docstrings/cryptocontext_docs.h @@ -153,12 +153,13 @@ const char* cc_MakeCoefPackedPlaintext_docs = R"pbdoc( :param value: vector of signed integers mod t :type value: List[int] - :param noiseScaleDeg : is degree of the scaling factor to encode the plaintext at - :type noiseScaleDeg : int + :param noiseScaleDeg: is degree of the scaling factor to encode the plaintext at + :type noiseScaleDeg: int :param level: is the level to encode the plaintext at :type level: int :return: plaintext :rtype: Plaintext + )pbdoc"; const char* cc_MakeCKKSPackedPlaintextComplex_docs = R"pbdoc( @@ -1179,9 +1180,10 @@ const char* cc_InsertEvalAutomorphismKey_docs = R"pbdoc( Add the given map of keys to the map, replacing the existing map if there is one :param evalKeyMap: map of keys to be inserted - :type EvalKeyMap + :type evalKeyMap: EvalKeyMap :param keyTag: key identifier for the given key map :type keyTag: str + )pbdoc"; const char* cc_EvalSum_docs = R"pbdoc( @@ -1376,10 +1378,11 @@ const char* cc_EvalFHEWtoCKKSSetup_docs = R"pbdoc( :param ccLWE: Source FHEW crypto context. :type ccLWE: BinFHEContext - :param numSlotsCKKS Number of slots in resulting CKKS ciphertext. + :param numSlotsCKKS: Number of slots in resulting CKKS ciphertext. :type numSlotsCKKS: int - :param logQ: Ciphertext modulus size in FHEW (for high precision). + :param logQ: Ciphertext modulus size in FHEW (for high precision). :type logQ: int + )pbdoc"; const char* cc_EvalFHEWtoCKKSKeyGen_docs = R"pbdoc( diff --git a/src/lib/bindings.cpp b/src/lib/bindings.cpp index bb94678..116292c 100644 --- a/src/lib/bindings.cpp +++ b/src/lib/bindings.cpp @@ -779,7 +779,7 @@ void bind_crypto_context(py::module &m) { py::doc(cc_MultiEvalSumKeyGen_docs)) .def("MultiAddEvalAutomorphismKeys", &CryptoContextImpl::MultiAddEvalAutomorphismKeys, py::arg("evalKeyMap1"), - py::arg("evalKeyMap1"), + py::arg("evalKeyMap2"), py::arg("keyTag") = "", py::doc(cc_MultiAddEvalAutomorphismKeys_docs)) .def("MultiAddPubKeys", &CryptoContextImpl::MultiAddPubKeys,