소스 검색

added setting and getting slots capability

IQ 10 달 전
부모
커밋
576477a1cb
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){