Skip to content

Commit

Permalink
Upgrade SEAL to 3.5.6 (#105)
Browse files Browse the repository at this point in the history
* upgrade SEAL to 3.5.6

* black format

* clang-format sealapi_util_namespace.cpp

* address comment, update vector param, add testcase

* fix dest vector param and as return type

Co-authored-by: Ayoub Benaissa <ayouben9@gmail.com>
  • Loading branch information
xueyumusic and youben11 authored Jul 21, 2020
1 parent 85619ed commit 4f3ce8b
Show file tree
Hide file tree
Showing 6 changed files with 161 additions and 333 deletions.
3 changes: 2 additions & 1 deletion tenseal/sealapi/sealapi_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ void bind_context(pybind11::module &m) {
.def("total_coeff_modulus_bit_count",
&SEALContext::ContextData::total_coeff_modulus_bit_count)
.def("coeff_div_plain_modulus",
&SEALContext::ContextData::coeff_div_plain_modulus)
&SEALContext::ContextData::coeff_div_plain_modulus,
py::return_value_policy::reference)
.def("plain_upper_half_threshold",
&SEALContext::ContextData::plain_upper_half_threshold)
.def("upper_half_threshold",
Expand Down
Loading

0 comments on commit 4f3ce8b

Please sign in to comment.