Explorar o código

Fixing cryptocontext serialize/deserialize specialization issue

Hovsep Papoyan hai 1 ano
pai
achega
211b5d9bdd
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      src/bindings.cc

+ 5 - 0
src/bindings.cc

@@ -2,6 +2,11 @@
 
 #include "openfhe/pke/gen-cryptocontext.h"
 
+// This inclusion is required for SerializeCryptoContextToFile
+// and DeserializeCryptoContextFromFile functions for calling
+// specialized versions of the corresponding functions.
+#include "openfhe/pke/cryptocontext-ser.h"
+
 namespace openfhe
 {
 PublicKeyDCRTPoly::PublicKeyDCRTPoly()