Pārlūkot izejas kodu

Fixing cryptocontext serialize/deserialize specialization issue

Hovsep Papoyan 2 gadi atpakaļ
vecāks
revīzija
211b5d9bdd
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. 5 0
      src/bindings.cc

+ 5 - 0
src/bindings.cc

@@ -2,6 +2,11 @@
 
 
 #include "openfhe/pke/gen-cryptocontext.h"
 #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
 namespace openfhe
 {
 {
 PublicKeyDCRTPoly::PublicKeyDCRTPoly()
 PublicKeyDCRTPoly::PublicKeyDCRTPoly()