소스 검색

Merge pull request #147 from openfheorg/yspolyakov-patch-1

Update bindings.cpp - Add GetCoefPackedValue
yspolyakov 1 년 전
부모
커밋
234468ce97
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/lib/bindings.cpp

+ 1 - 0
src/lib/bindings.cpp

@@ -1063,6 +1063,7 @@ void bind_encodings(py::module &m)
         .def("SetFormat", &PlaintextImpl::SetFormat,
             ptx_SetFormat_docs,
             py::arg("fmt"))
+        .def("GetCoefPackedValue", &PlaintextImpl::GetCoefPackedValue)
         .def("GetPackedValue", &PlaintextImpl::GetPackedValue)
         .def("GetCKKSPackedValue", &PlaintextImpl::GetCKKSPackedValue,
             ptx_GetCKKSPackedValue_docs)