Просмотр исходного кода

Fixing cryptocontext serialize/deserialize specialization issue

Hovsep Papoyan 1 год назад
Родитель
Сommit
211b5d9bdd
1 измененных файлов с 5 добавлено и 0 удалено
  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()