Skip to content

Commit ff7cd7b

Browse files
Correted a print statement
1 parent ebcd37c commit ff7cd7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/pke/simple-ckks-bootstrapping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def simple_bootstrap_example():
6666

6767
ciphertext_after = cryptocontext.EvalBootstrap(ciph)
6868

69-
print(f"Number of levels remaining after bootstrapping: {depth - ciphertext_after.GetLevel()}")
69+
print(f"Number of levels remaining after bootstrapping: {depth - ciphertext_after.GetLevel() - (ciphertext_after.GetNoiseScaleDeg() - 1)}")
7070

7171
result = cryptocontext.Decrypt(ciphertext_after,key_pair.secretKey)
7272
result.SetLength(encoded_length)

0 commit comments

Comments
 (0)