Przeglądaj źródła

fix decrypt syntax error

Rener Oliveira (Ubuntu WSL) 1 rok temu
rodzic
commit
b794eaa694
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/pke/examples/simple-ckks-bootstrapping.py

+ 1 - 1
src/pke/examples/simple-ckks-bootstrapping.py

@@ -69,7 +69,7 @@ def SimpleBootstrapExample(nativeint):
 
     print(f"Number of levels remaining after bootstrapping: {ciphertextAfter.GetLevel()}")
 
-    result = cryptocontext.Decrypt(keyPair.secretKey, ciphertextAfter)
+    result = Decrypt(ciphertextAfter,keyPair.secretKey)
     result.SetLength(encodedLength)
     print(f"Output after bootstrapping: {result}")