Rener Oliveira (Ubuntu WSL) пре 2 година
родитељ
комит
b794eaa694
1 измењених фајлова са 1 додато и 1 уклоњено
  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}")