hi, i find the test case SerializeTest.HostCKKSCiphertext ailed some times, so,i change the test code to
TEST(SerializeTest, HostCKKSCiphertext) {
for(int i=0;i<100;i++) {
printf("i=%2d\n", i);
GeneralHeContext ghe(false, SchemeType::CKKS, 32, 0, { 60, 60, 60 }, false, 0x123, 10, 1<<16, 1e-2);
test_ciphertext(ghe);
}
}
then , this test will fail.
if i change tolerance to 1e-1 or 1.8e-2,the test case can pass.
hi, i find the test case SerializeTest.HostCKKSCiphertext ailed some times, so,i change the test code to
then , this test will fail.
if i change tolerance to 1e-1 or 1.8e-2,the test case can pass.