-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No repeated primes in the limb moduli for CKKS #793
Conversation
dsuponitskiy
commented
Jun 5, 2024
•
edited
Loading
edited
- Make sure that the vector of moduliQ in ParamsGenCKKSRNS() has no duplicate values.
- Push error handling to the top of the function
- Reorganize code and replace usint with uint32_t
- Add unit tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a unit test checking for small firstModSize = scalingModSize and for small firstModSize = scalingModSize + 1.
@dsuponitskiy You should be able to convert the examples from https://openfhe.discourse.group/t/crashes-with-specific-parameter-setting-in-ckks/1252/4 into unit tests
14391f7
to
151ef85
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
9101e87
to
c5449ae
Compare