Преглед на файлове

Merge pull request #101 from openfheorg/quah_100

added setting and getting slots capability
Ian Quah преди 10 месеца
родител
ревизия
b53c5c36c5
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      src/lib/bindings.cpp

+ 3 - 3
src/lib/bindings.cpp

@@ -1117,13 +1117,13 @@ void bind_ciphertext(py::module &m)
         ctx_SetLevel_docs,
         py::arg("level"))
      .def("Clone", &CiphertextImpl<DCRTPoly>::Clone)
-     .def("RemoveElement", &RemoveElementWrapper, cc_RemoveElement_docs);
+     .def("RemoveElement", &RemoveElementWrapper, cc_RemoveElement_docs)
     // .def("GetHopLevel", &CiphertextImpl<DCRTPoly>::GetHopLevel)
     // .def("SetHopLevel", &CiphertextImpl<DCRTPoly>::SetHopLevel)
     // .def("GetScalingFactor", &CiphertextImpl<DCRTPoly>::GetScalingFactor)
     // .def("SetScalingFactor", &CiphertextImpl<DCRTPoly>::SetScalingFactor)
-    // .def("GetSlots", &CiphertextImpl<DCRTPoly>::GetSlots)
-    // .def("SetSlots", &CiphertextImpl<DCRTPoly>::SetSlots);
+     .def("GetSlots", &CiphertextImpl<DCRTPoly>::GetSlots)
+     .def("SetSlots", &CiphertextImpl<DCRTPoly>::SetSlots);
 }
 
 void bind_schemes(py::module &m){