Skip to content
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

Bug[rlwe]: bad rlwe.Parameters initialization with no error #458

Open
Pro7ech opened this issue Apr 29, 2024 · 0 comments
Open

Bug[rlwe]: bad rlwe.Parameters initialization with no error #458

Pro7ech opened this issue Apr 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Pro7ech
Copy link
Contributor

Pro7ech commented Apr 29, 2024

Initialization of rlwe.Parameters through rlwe.NewParametersFromLiteral returns parameters with an empty set of special primes and no error in the following cases:

  • Q is specified as Q: []uint64{..} but P as LogP: []int{...}
  • Q is specified as LogQ: []int{...} but P as P: []uint64{...}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant