Skip to content

Commit 16b8ef6

Browse files
Updated the number of args in Compress() (#255)
Co-authored-by: Dmitriy Suponitskiy <[email protected]>
1 parent ba6b9a7 commit 16b8ef6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/bindings.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,8 @@ void bind_crypto_context(py::module &m) {
996996
py::doc(cc_EvalAutomorphismKeyGen_docs))
997997
.def("Compress", &CryptoContextImpl<DCRTPoly>::Compress,
998998
py::arg("ciphertext"),
999-
py::arg("towersLeft"))
999+
py::arg("towersLeft") = 1,
1000+
py::arg("noiseScaleDeg") = 1)
10001001
.def("EvalMultMany", &CryptoContextImpl<DCRTPoly>::EvalMultMany,
10011002
py::arg("ciphertextVec"))
10021003
.def("EvalAddMany", &CryptoContextImpl<DCRTPoly>::EvalAddMany,

0 commit comments

Comments
 (0)