Skip to content

Commit 0d65ea9

Browse files
Some code corrections
1 parent 6d121a9 commit 0d65ea9

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# The short X.Y version
2727
version = ''
2828
# The full version, including alpha/beta/rc tags
29-
release = '0.8.0'
29+
release = 'v1.3.1.0'
3030

3131

3232
# -- General configuration ---------------------------------------------------

src/include/docstrings/cryptocontext_docs.h

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,13 @@ const char* cc_MakeCoefPackedPlaintext_docs = R"pbdoc(
153153
154154
:param value: vector of signed integers mod t
155155
:type value: List[int]
156-
:param noiseScaleDeg : is degree of the scaling factor to encode the plaintext at
157-
:type noiseScaleDeg : int
156+
:param noiseScaleDeg: is degree of the scaling factor to encode the plaintext at
157+
:type noiseScaleDeg: int
158158
:param level: is the level to encode the plaintext at
159159
:type level: int
160160
:return: plaintext
161161
:rtype: Plaintext
162+
162163
)pbdoc";
163164

164165
const char* cc_MakeCKKSPackedPlaintextComplex_docs = R"pbdoc(
@@ -1179,9 +1180,10 @@ const char* cc_InsertEvalAutomorphismKey_docs = R"pbdoc(
11791180
Add the given map of keys to the map, replacing the existing map if there is one
11801181
11811182
:param evalKeyMap: map of keys to be inserted
1182-
:type EvalKeyMap
1183+
:type evalKeyMap: EvalKeyMap
11831184
:param keyTag: key identifier for the given key map
11841185
:type keyTag: str
1186+
11851187
)pbdoc";
11861188

11871189
const char* cc_EvalSum_docs = R"pbdoc(
@@ -1376,10 +1378,11 @@ const char* cc_EvalFHEWtoCKKSSetup_docs = R"pbdoc(
13761378
13771379
:param ccLWE: Source FHEW crypto context.
13781380
:type ccLWE: BinFHEContext
1379-
:param numSlotsCKKS Number of slots in resulting CKKS ciphertext.
1381+
:param numSlotsCKKS: Number of slots in resulting CKKS ciphertext.
13801382
:type numSlotsCKKS: int
1381-
:param logQ: Ciphertext modulus size in FHEW (for high precision).
1383+
:param logQ: Ciphertext modulus size in FHEW (for high precision).
13821384
:type logQ: int
1385+
13831386
)pbdoc";
13841387

13851388
const char* cc_EvalFHEWtoCKKSKeyGen_docs = R"pbdoc(

src/lib/bindings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ void bind_crypto_context(py::module &m) {
779779
py::doc(cc_MultiEvalSumKeyGen_docs))
780780
.def("MultiAddEvalAutomorphismKeys", &CryptoContextImpl<DCRTPoly>::MultiAddEvalAutomorphismKeys,
781781
py::arg("evalKeyMap1"),
782-
py::arg("evalKeyMap1"),
782+
py::arg("evalKeyMap2"),
783783
py::arg("keyTag") = "",
784784
py::doc(cc_MultiAddEvalAutomorphismKeys_docs))
785785
.def("MultiAddPubKeys", &CryptoContextImpl<DCRTPoly>::MultiAddPubKeys,

0 commit comments

Comments
 (0)