Hi everyone,
I used to think that as long as the “CurrentMultiplicativeDepth” is less than or equal to the “MaxMultiplicativeDepth,” multiplication would proceed without issues.
However, in a recent project, I set the “MaxMultiplicativeDepth” using parameters.SetMultiplicativeDepth(8)
, and the current “MultiplicativeDepth” of the ciphertext is 8. When I call Decrypt()
, I encounter the following error:
openfhe-development/src/pke/lib/encoding/ckkspackedencoding.cpp:l.541:Decode(): The decryption failed because the approximation error is too high. Check the parameters.
Can anyone advise on how to estimate the approximation error and ensure the program runs smoothly?
Thank you!