Quellcode durchsuchen

added setting and getting slots capability

IQ vor 10 Monaten
Ursprung
Commit
576477a1cb
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  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){