Hi,
I directly git clone the main branch of the project, and then I run the function-evaluation example, and failed at the second example. The output is
--------------------------------- EVAL SQUARE ROOT FUNCTION ---------------------------------
terminate called after throwing an instance of 'lbcrypto::math_error'
what(): /tmp/tmp.c4KaOgOCJe/src/pke/lib/encoding/ckkspackedencoding.cpp:522 The decryption failed because the approximation error is too high. Check the parameters.
I know there may be something wrong with the params, but I dont’ know what to change.
64-bit. I didn’t set any CMake options, so I think I didn’t change the MathBackend.
I download the main branch code zip from github, open it with CLion IDE, load the CMakelists, run the target function-evaluation and I get the errror.
I use a server with Ubuntu20.04, CMake version 3.21.7, GDB version 9.2.
Or should I report on github, where i could upload the whole project?