Closed mdvillagra closed 1 month ago
When the plaintext modulus and cyclotomic number do not satisfy the condition that $m$ divides $q-1$, there is an error
Please provide a primeModulus(q) and a cyclotomic number(m) satisfying the condition: (q-1)/m is an integer.
and immediately the program aborts.
I don't know if the exception is being thrown correctly in this line, because the code below fails to catch the exception.
try { plaintext_number = cryptoContext->MakePackedPlaintext(number); } catch (const std::exception &e) { std::cerr << e.what() << std::endl; }
Please ask this question in the OpenFHE discourse forum: https://openfhe.discourse.group/ The issues are only for reporting bugs, requests, etc.
When the plaintext modulus and cyclotomic number do not satisfy the condition that $m$ divides $q-1$, there is an error
and immediately the program aborts.
I don't know if the exception is being thrown correctly in this line, because the code below fails to catch the exception.